graphql-engine/server/tests-py/queries/actions/sync/create_user_fail.yaml
Rakesh Emmadi 362230e8d0 server: async action query subscription
Multi source support had limited the availability of async action queries in subscriptions. This PR
adds support for async action query subscriptions with new implementation. Also addresses https://github.com/hasura/graphql-engine/issues/6460.

GitOrigin-RevId: 5ddc321073d224f287dc4b86ce2239ff55190b36
2021-03-31 10:40:15 +00:00

19 lines
345 B
YAML

description: Run create_user sync action mutation with invalid email
url: /v1/graphql
status: 200
query:
query: |
mutation {
create_user(email: "random-email", name: "Clarke"){
id
}
}
response:
data:
errors:
- extensions:
path: $
code: invalid-email
message: Given email address is not valid