graphql-engine/server/tests-py/queries/actions/sync/create_users_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

20 lines
436 B
YAML

description: Run create_users sync action mutation with invalid email
url: /v1/graphql
status: 200
query:
query: |
mutation {
create_users(users: [{email: "blake@hasura.io", name: "Blake"}, {email: "random-email", name: "Elsa"}]){
id
__typename
}
}
response:
data:
errors:
- extensions:
path: $
code: invalid-email
message: 'Email address is not valid: random-email'