mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-16 18:42:30 +03:00
996ce928d4
* include `__typename` field in custom types' objects, fix #4063 Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
29 lines
518 B
YAML
29 lines
518 B
YAML
description: Run create_user sync action mutation with valid email
|
|
url: /v1/graphql
|
|
status: 200
|
|
query:
|
|
query: |
|
|
mutation {
|
|
create_user(email: "clarke@gmail.com", name: "Clarke"){
|
|
__typename
|
|
id
|
|
user {
|
|
__typename
|
|
name
|
|
email
|
|
is_admin
|
|
}
|
|
}
|
|
}
|
|
|
|
response:
|
|
data:
|
|
create_user:
|
|
__typename: UserId
|
|
id: 1
|
|
user:
|
|
__typename: user
|
|
name: Clarke
|
|
email: clarke@gmail.com
|
|
is_admin: false
|