mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-18 21:12:09 +03:00
0833d35088
Also involved a refactor of the internals to localise the context needed for each field
23 lines
391 B
YAML
23 lines
391 B
YAML
description: Query passed students as staff
|
|
url: /v1alpha1/graphql
|
|
status: 200
|
|
headers:
|
|
X-Hasura-Role: staff
|
|
response:
|
|
data:
|
|
passed_students:
|
|
- id: 1
|
|
student_name: clarke
|
|
- id: 2
|
|
student_name: george
|
|
- id: 4
|
|
student_name: leonel
|
|
query:
|
|
query: |
|
|
query {
|
|
passed_students(args: {pass_gpa: 8.00}) {
|
|
id
|
|
student_name
|
|
}
|
|
}
|