mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 20:41:49 +03:00
996ce928d4
* include `__typename` field in custom types' objects, fix #4063 Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
19 lines
428 B
YAML
19 lines
428 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:
|
|
errors:
|
|
- extensions:
|
|
path: $
|
|
code: invalid-email
|
|
message: 'Email address is not valid: random-email'
|