graphql-engine/server/tests-py/queries/graphql_query/mysql/basic.yaml
2021-10-12 17:59:44 +00:00

20 lines
353 B
YAML

description: Simple GraphQL object query on author
url: /v1/graphql
status: 200
response:
data:
hasura_test_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_test_author {
name
id
}
}