mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-17 12:31:52 +03:00
57 lines
1.3 KiB
YAML
57 lines
1.3 KiB
YAML
|
- description: Test that introspection queries are properly cached (#4547)
|
||
|
url: /v1/graphql
|
||
|
status: 200
|
||
|
response:
|
||
|
data:
|
||
|
__type:
|
||
|
name: __TypeKind
|
||
|
enumValues:
|
||
|
- name: ENUM
|
||
|
- name: INPUT_OBJECT
|
||
|
- name: INTERFACE
|
||
|
- name: LIST
|
||
|
- name: NON_NULL
|
||
|
- name: OBJECT
|
||
|
- name: SCALAR
|
||
|
- name: UNION
|
||
|
query:
|
||
|
variables:
|
||
|
includeDeprecated: true
|
||
|
query: |
|
||
|
query IntrospectionQuery($includeDeprecated: Boolean!) {
|
||
|
__type(name:"__TypeKind") {
|
||
|
name
|
||
|
enumValues(includeDeprecated: $includeDeprecated) {
|
||
|
name
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
- description: Test that introspection queries are properly cached (#4547)
|
||
|
url: /v1/graphql
|
||
|
status: 200
|
||
|
response:
|
||
|
data:
|
||
|
__type:
|
||
|
name: __TypeKind
|
||
|
enumValues:
|
||
|
- name: ENUM
|
||
|
- name: INPUT_OBJECT
|
||
|
- name: INTERFACE
|
||
|
- name: LIST
|
||
|
- name: NON_NULL
|
||
|
- name: OBJECT
|
||
|
- name: SCALAR
|
||
|
- name: UNION
|
||
|
query:
|
||
|
variables:
|
||
|
includeDeprecated: true
|
||
|
query: |
|
||
|
query IntrospectionQuery($includeDeprecated: Boolean!) {
|
||
|
__type(name:"__TypeKind") {
|
||
|
name
|
||
|
enumValues(includeDeprecated: $includeDeprecated) {
|
||
|
name
|
||
|
}
|
||
|
}
|
||
|
}
|