Skip to content

getIntrospectionQuery result does not match the IntrospectionQuery type #3909

Closed
@jonapgar-groupby

Description

@jonapgar-groupby

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;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions