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

empty string coerced to 0 #476

Closed
itajaja opened this issue Sep 2, 2016 · 1 comment
Closed

empty string coerced to 0 #476

itajaja opened this issue Sep 2, 2016 · 1 comment

Comments

@itajaja
Copy link

itajaja commented Sep 2, 2016

empty string it's a valid GraphQLInt since Number('') returns 0 (code). I believe this is a bug

@robzhu
Copy link
Contributor

robzhu commented Sep 5, 2016

Thanks for filing this!

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

No branches or pull requests

3 participants