graphql-engine/server/tests-py/queries/graphql_mutation/insert/basic/person_jsonb.yaml

28 lines
539 B
YAML
Raw Normal View History

- description: Inserts person data via GraphQL mutation (without Variable)
url: /v1/graphql
status: 200
response:
data:
insert_person:
returning:
- details:
name:
last: murphy
first: json
query:
query: |
mutation insert_person{
insert_person(
objects: [
{
details: {name: {first: json last: murphy}}
}
]
) {
returning {
details
}
}
}