We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I scalars.py, this line:
def coerce_string(value): if isinstance(value, bool): return 'true' if value else 'false' return unicode(value)
If the input value of a mutation is a unicode string, I get a decode error. A simple fix, unicode(value) handles this for me.
unicode(value)
The text was updated successfully, but these errors were encountered:
Fix for graphql-python#21 and graphql-python#22.
ba5c433
Hey. Can you provide code to repro the case where this happens, so we can put it in as a unittest?
Thanks!
Sorry, something went wrong.
I think the "If the input value of a mutation is a unicode string" is the test case ;)
It shouldn't though. Which is why I'm wondering what's causing the error.
87eb526
No branches or pull requests
I scalars.py, this line:
If the input value of a mutation is a unicode string, I get a decode error. A simple fix,
unicode(value)
handles this for me.The text was updated successfully, but these errors were encountered: