|
queryType { name } |
|
mutationType { name } |
|
subscriptionType { name } |
The query needs to select kind for each of these in order for the result to match the defined IntrospectionQuery type
|
readonly queryType: IntrospectionNamedTypeRef<IntrospectionObjectType>; |
|
readonly mutationType: Maybe< |
|
IntrospectionNamedTypeRef<IntrospectionObjectType> |
|
>; |
|
readonly subscriptionType: Maybe< |
|
IntrospectionNamedTypeRef<IntrospectionObjectType> |
|
>; |
|
export interface IntrospectionNamedTypeRef< |
|
T extends IntrospectionType = IntrospectionType, |
|
> { |
|
readonly kind: T['kind']; |
|
readonly name: string; |
|
} |
graphql-js/src/utilities/getIntrospectionQuery.ts
Lines 70 to 72 in 04e948b
The query needs to select
kindfor each of these in order for the result to match the definedIntrospectionQuerytypegraphql-js/src/utilities/getIntrospectionQuery.ts
Lines 172 to 178 in 04e948b
graphql-js/src/utilities/getIntrospectionQuery.ts
Lines 293 to 298 in 04e948b