graphql-engine/server/tests-py/queries/actions/sync/extensions_code_both_codes.yaml
2021-09-17 07:44:37 +00:00

25 lines
484 B
YAML

description: Run get_user_by_email query action with invalid email
url: /v1/graphql
status: 200
query:
query: |
query {
intentional_error(
blob: {
message: "intentionally generated error"
code: "toplevel-error"
extensions: { foo: "bar", code: "action-error" }
}
) {
id
}
}
response:
errors:
- extensions:
foo: bar
code: action-error
message: intentionally generated error