graphql-engine/server/test/testcases/insert_mutation/author.yaml

23 lines
376 B
YAML

description: Inserts author data via GraphQL mutation
url: /v1alpha1/graphql
status: 200
query:
query: |
mutation insert_author {
insert_author(
objects: [
{
name: "Author 1"
},
{
name: "Author 2"
}
]
) {
returning {
id
name
}
}
}