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
It is known that any number in map[string]interface{} would be parsed as float (even though the required field is Int). https://github.com/vektah/gqlparser/blob/master/validator/vars.go#L31
So is any struct embeded inside the variables.
Can you add a number parser here so that we can continue using CreateOperationContext() function?
The text was updated successfully, but these errors were encountered:
fix issue #160: validateVarType parsing numbers
29d2c80
fix issue #160: validateVarType parsing numbers (#216)
5bb131d
* fix issue #160: validateVarType parsing numbers * Fix typo Signed-off-by: Steve Coffman <[email protected]> Co-authored-by: scboffspring <[email protected]>
No branches or pull requests
It is known that any number in map[string]interface{} would be parsed as float (even though the required field is Int).
https://github.com/vektah/gqlparser/blob/master/validator/vars.go#L31
So is any struct embeded inside the variables.
Can you add a number parser here so that we can continue using CreateOperationContext() function?
The text was updated successfully, but these errors were encountered: