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
In Hasura, a nullable field order can be set to null with this mutation:
order
mutation ($id: String!) { update_table_by_pk(pk_columns: {id: $id}, _set: {order: null}) { id } }
But in Reason we're getting: Invalid argument. Expected "Int" but received "Null!".
Invalid argument. Expected "Int" but received "Null!".
A workaround is to use a nullable parameter and simply omit it when calling makeVariables:
mutation ($id: String!, $nullableInt: Int) { update_table_by_pk(pk_columns: {id: $id}, _set: {order: $nullableInt}) { id } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In Hasura, a nullable field
order
can be set to null with this mutation:But in Reason we're getting:
Invalid argument. Expected "Int" but received "Null!".
A workaround is to use a nullable parameter and simply omit it when calling makeVariables:
The text was updated successfully, but these errors were encountered: