Skip to content

Missing input values #22

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

Closed
miracle2k opened this issue Oct 12, 2015 · 3 comments
Closed

Missing input values #22

miracle2k opened this issue Oct 12, 2015 · 3 comments

Comments

@miracle2k
Copy link

https://github.com/graphql-python/graphql-core/blob/master/graphql/core/execution/values.py#L131

This line will through a key error if an input values is not provided. I believe to match the reference implementation, it would have to be:

 values.get(field_name)
miracle2k added a commit to miracle2k/graphql-core that referenced this issue Oct 12, 2015
@jhgg
Copy link
Member

jhgg commented Oct 12, 2015

Hey. Can you provide code to repro the case where this happens, so we can put it in as a unittest?

Thanks!

@jhgg
Copy link
Member

jhgg commented Oct 16, 2015

While working on the Variable unit test cases, I found a test case that reliably replicated this issue.

@syrusakbary
Copy link
Member

👍

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

No branches or pull requests

3 participants