graphql-engine/server/tests-py/queries/graphql_query/bigquery/global_limit.yaml
Kirill Zaborsky 960cf2d954 Use 'hasura' as dataset in python test to unify it with hspec
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/3636
GitOrigin-RevId: f4114fded09cbdd9875488610c635537478e4ab5
2022-02-14 06:23:07 +00:00

29 lines
670 B
YAML

- description: Check that global limits apply
url: /v1/graphql
status: 200
response:
data:
hasura_LimitedAlbum:
- album_self_id: '2000'
query:
query: |
query MyQuery {hasura_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_LimitedAlbum_aggregate:
nodes:
- album_self_id: '2000'
query:
query: |
query MyQuery {
hasura_LimitedAlbum_aggregate(order_by: {album_self_id: asc}) {
nodes {
album_self_id
}
}
}