graphql-engine/server/tests-py/queries/graphql_validation/null_value_err.yaml

20 lines
454 B
YAML
Raw Normal View History

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
}
}
}