graphql-engine/server/tests-py/queries/subscriptions/multiplexing/articles_query_array_variable.yaml
Abby Sassel 9d93baa96f server/postgres: parameterise array variables in queries/subscriptions
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4776
Co-authored-by: Tom Harding <6302310+i-am-tom@users.noreply.github.com>
Co-authored-by: Brandon Martin <40686+codedmart@users.noreply.github.com>
GitOrigin-RevId: ca962e3bfaa28ef00c5d04273d6604348d7da1c8
2022-06-29 13:37:11 +00:00

13 lines
161 B
YAML

query: |
subscription ($ids: [Int!]) {
articles (where: {id: {_in: $ids}}) {
title
content
}
}
variables:
ids:
- 1
- 2
- 3