graphql-engine/server/tests-py/queries/graphql_validation/null_value_err.yaml
2019-04-24 13:19:39 +05:30

20 lines
454 B
YAML

description: Passing null value for non nullable type
url: /v1alpha1/graphql
status: 400
response:
errors:
- extensions:
path: "$.selectionSet.update_author.args.where"
code: "validation-failed"
message: "null value found for non-nullable type: author_bool_exp!"
query:
query: |
mutation update_author {
update_author(where: null _set: {name: ""}) {
returning {
id
name
}
}
}