graphql-engine/server/tests-py/queries/graphql_query/bigquery/global_limit.yaml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
690 B
YAML
Raw Normal View History

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