graphql-engine/server/tests-py/queries/graphql_query/mysql/basic.yaml

20 lines
343 B
YAML
Raw Normal View History

description: Simple GraphQL object query on author
url: /v1/graphql
status: 200
response:
data:
hasura_author:
- name: Author 1
id: 1
- name: Author 2
id: 2
query:
# https://graphql.org/learn/serving-over-http/#post-request
query: |
query MyQuery {
hasura_author {
name
id
}
}