graphql-engine/server/tests-py/queries/graphql_query/mysql/basic.yaml
Sibi Prabakaran c93996d06c Mysql: Simple graphql queries along with offset/limits
https://github.com/hasura/graphql-engine-mono/pull/1851

Co-authored-by: Chris Done <11019+chrisdone@users.noreply.github.com>
Co-authored-by: Aniket Deshpande <922486+aniketd@users.noreply.github.com>
Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com>
GitOrigin-RevId: 4b4ba6dd86c302d873bb5f8e6dbc9412e77a8bfe
2021-08-04 11:43:19 +00:00

20 lines
343 B
YAML

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
}
}