introspection library
Builds the __schema and __type fields a client introspects a schema with.
Applied for you by GraphQL unless it is constructed with
introspect: false.
Classes
- CollectTypes
- Walks a set of types and collects everything they reach.
Functions
-
fetchAllTypes(
GraphQLSchema schema, List< GraphQLType?> specifiedTypes) → List<GraphQLType?> -
Every type reachable from
schema, plusspecifiedTypes. -
reflectSchema(
GraphQLSchema schema, List< GraphQLType?> allTypes) → GraphQLSchema -
Performs introspection over a GraphQL
schema, and returns a one, containing introspective information.