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

29 lines
690 B
YAML

- description: Check that global limits apply
url: /v1/graphql
status: 200
response:
data:
hasura_test_LimitedAlbum:
- album_self_id: '2000'
query:
query: |
query MyQuery {hasura_test_LimitedAlbum(limit: 5, order_by: {album_self_id: asc}) {album_self_id}}
- description: Check that global limits apply for nodes
url: /v1/graphql
status: 200
response:
data:
hasura_test_LimitedAlbum_aggregate:
nodes:
- album_self_id: '2000'
query:
query: |
query MyQuery {
hasura_test_LimitedAlbum_aggregate(order_by: {album_self_id: asc}) {
nodes {
album_self_id
}
}
}