-
Notifications
You must be signed in to change notification settings - Fork 819
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 value for Decimal scalar #927
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is empty string considered an invalid value for Decimal scalar?
If so then how do we represent an empty value for a Decimal?
I've tried to fix this by parsing empty string to
None
but that results in an error. The error happens ingraphql.utils.is_valid_value
(see below).UPDATE:
I dug my head out of the sand and realised that using
null
on the client is the obvious thing to do for clearing a value.The text was updated successfully, but these errors were encountered: