Skip to content

downloadsRemaining returns null when is of valid type string #938

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

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

hacknug
Copy link

@hacknug hacknug commented May 23, 2025

What does this implement/fix? Explain your changes.

This PR fixes an issue when downloadsRemaining is of type string instead of the expected one integer. It changes how we check for valid values for downloadsRemaining everywhere in the codebase, and applies the most minimal set of changes to ensure we're not nullifying valid strigified values.

Does this close any currently open issues?

Closes #937.

Any relevant logs, error output, GraphiQL screenshots, etc?

Any other comments?

Let me know if there's any extra changes you'd like me to make.

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.

downloadsRemaining returns null when is valid type string
1 participant