Class GraphQLIntrospector
Constructors
Methods
buildClientSchemaFromIntrospection
- buildClientSchemaFromIntrospection(url, headers?, introspectionOptions?): Promise<GraphQLSchema>
Parameters
- url: string
Optional
headers: Record<string, string>Optional
introspectionOptions: IntrospectionOptions
Returns Promise<GraphQLSchema>
getIntrospectionQueryBody
- getIntrospectionQueryBody(introspectionOptions?): {
query: string;
} Parameters
Optional
introspectionOptions: IntrospectionOptions
Returns {
query: string;
}
introspect
- introspect(url, headers?, introspectionOptions?): Promise<IntrospectionQuery>
Parameters
- url: string
Optional
headers: Record<string, string>Optional
introspectionOptions: IntrospectionOptions
Returns Promise<IntrospectionQuery>
validateIntrospectionQueryResult
- validateIntrospectionQueryResult(result): IntrospectionQuery
Returns IntrospectionQuery