mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
95adde4ce2
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4584 Co-authored-by: Auke Booij <164426+abooij@users.noreply.github.com> GitOrigin-RevId: 0f60c263efb5fbaa25620dd8159e8cfda25a61b2
29 lines
508 B
YAML
29 lines
508 B
YAML
description: Introspection to check query fields and their types
|
|
url: /v1/graphql
|
|
status: 200
|
|
query:
|
|
query: |
|
|
query EntitiesTest($representations: [_Any!]!) {
|
|
_entities(representations: $representations) {
|
|
... on user {
|
|
id
|
|
email
|
|
name
|
|
is_admin
|
|
}
|
|
}
|
|
}
|
|
variables:
|
|
representations:
|
|
- __typename: user
|
|
id: 1
|
|
|
|
|
|
response:
|
|
data:
|
|
_entities:
|
|
- id: 1
|
|
email: foo@email.com
|
|
name: foo
|
|
is_admin: false
|