mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 18:42:30 +03:00
18 lines
345 B
YAML
18 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:
|
||
|
errors:
|
||
|
- extensions:
|
||
|
path: $
|
||
|
code: invalid-email
|
||
|
message: Given email address is not valid
|