graphql-engine/server/tests-py/queries/actions/sync/extensions_code_both_codes.yaml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
484 B
YAML
Raw Normal View History

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