mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 20:41:49 +03:00
7b31ff99d1
Co-authored-by: christophediprima <dipdipdip84@gmail.com> Co-authored-by: dip <dipdipdip84@gmail.com> Co-authored-by: Auke Booij <auke@hasura.io> Co-authored-by: Antoine Leblanc <antoine@hasura.io> GITHUB_PR_NUMBER: 6172 GITHUB_PR_URL: https://github.com/hasura/graphql-engine/pull/6172 GitOrigin-RevId: 5192d238b527cd21b6efb2f74e279ecc34756c29
19 lines
401 B
YAML
19 lines
401 B
YAML
- description: user can only select artists having name matching X-Hasura-iregex-artists
|
|
url: /v1/graphql
|
|
status: 200
|
|
headers:
|
|
X-Hasura-Role: user_iregex
|
|
X-Hasura-iregex-artists: "(.*ak)|(.*lla)"
|
|
response:
|
|
data:
|
|
Artist:
|
|
- name: Akon
|
|
- name: Camilla
|
|
query:
|
|
query: |
|
|
query {
|
|
Artist (order_by: {name: asc}) {
|
|
name
|
|
}
|
|
}
|