mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 17:31:56 +03:00
d88e2bbcce
https://github.com/hasura/graphql-engine-mono/pull/1625 Co-authored-by: Sameer Kolhar <6604943+kolharsam@users.noreply.github.com> GitOrigin-RevId: 6b56efc838d2ed1acc44b2847161fde22d6aee17
12 lines
302 B
YAML
12 lines
302 B
YAML
- description: call the new custom endpoint with the wrong role
|
|
url: /api/rest/simple
|
|
headers:
|
|
X-Hasura-Role: user
|
|
method: GET
|
|
status: 400
|
|
query:
|
|
response:
|
|
path: $.selectionSet.test_table
|
|
error: "field \"test_table\" not found in type: 'query_root'"
|
|
code: validation-failed
|