mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 21:12:09 +03:00
9f35e660c0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/2367 Co-authored-by: Chris Done <11019+chrisdone@users.noreply.github.com> Co-authored-by: Aniket Deshpande <922486+aniketd@users.noreply.github.com> Co-authored-by: Abby Sassel <3883855+sassela@users.noreply.github.com> GitOrigin-RevId: 701c84a1ca5e4ab73a229a804381a7f5281090f1
21 lines
438 B
YAML
21 lines
438 B
YAML
description: Explain query with permissions
|
|
url: /v1/graphql/explain
|
|
status: 200
|
|
response:
|
|
- field: hasura_user
|
|
sql: |-
|
|
SELECT t_user1.id AS id,"\n "t_user1.name AS name,"\n "t_user1.age AS age"\n"FROM hasura.user AS t_user1
|
|
query:
|
|
hasura_user:
|
|
X-Hasura-Role: user
|
|
X-Hasura-User-Id: "1"
|
|
query:
|
|
query: |
|
|
query {
|
|
hasura_user{
|
|
id
|
|
name
|
|
age
|
|
}
|
|
}
|