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

Cannot send null as argument for scalar type #457

Closed
clery opened this issue Mar 10, 2019 · 1 comment
Closed

Cannot send null as argument for scalar type #457

clery opened this issue Mar 10, 2019 · 1 comment

Comments

@clery
Copy link

clery commented Mar 10, 2019

Hi,

I'm using graphql v0.7.7 and I noticed I cannot send null in a scalar argument.

It's really easy to reproduce, just create a field that takes a string as an argument, and try sending null, it should return something like Argument "some_name" has invalid value <nil>. Expected type "String", found <nil>."

@clery
Copy link
Author

clery commented Mar 15, 2019

I believe pull request #401 fixes 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

1 participant