Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated schema #48

Merged
merged 2 commits into from
Mar 8, 2024
Merged

Updated schema #48

merged 2 commits into from
Mar 8, 2024

Conversation

leoafarias
Copy link
Owner

@leoafarias leoafarias commented Mar 7, 2024

Closes #16 and #43

@leoafarias leoafarias merged commit 6d6ed7e into main Mar 8, 2024
1 check passed
@leoafarias leoafarias deleted the chore/update-schema branch March 8, 2024 00:12

/// Package Score Model
class PackageScore {
final int? grantedPoints;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@leoafarias Why were these changed to non-nullable? Are we sure these are never null?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes they come nullable if the package is processing.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't they be changed back to nullable then?

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the confusion. They used to be nullable before, but on my tools, they are not anymore. Let me know if you are seeing something different.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you test with a package that was in the middle of scanning? What are the values?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feature request: expose package license
2 participants