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 am using the version 16.6.0 I have implemented: GraphqlScalarType like this:
`
export const IntScalar = new GraphqlScalarType ({ ...GraphQLInt, serialize(value) { if(value === 10000) { return null; } return value; } })
im getting expected IntScalar.Serialize(10000) to return non-nullable value retrun null
why cant i return null?
The text was updated successfully, but these errors were encountered:
@xs3213213213 Because scalars values are different from null. You can't mix custom scalar values and null, see here: https://spec.graphql.org/draft/#sel-EANTLEHJIMDJBA58K
Sorry, something went wrong.
No branches or pull requests
i am using the version 16.6.0
I have implemented: GraphqlScalarType like this:
`
`
im getting expected IntScalar.Serialize(10000) to return non-nullable value retrun null
why cant i return null?
The text was updated successfully, but these errors were encountered: