mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-22 15:01:39 +03:00
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
|