import { GraphQL } from "https://deno.land/x/drash@v2.8.1/src/services/graphql/graphql.ts";
const { TypeInfo } = GraphQL;
TypeInfo is a utility class which, given a GraphQL schema, can keep track
of the current field and type definitions at any point in a GraphQL document
AST during a recursive descent by calling enter(node)
and leave(node)
.
Constructors
Methods
getArgument(): Maybe<GraphQLArgument>
getDefaultValue(): Maybe<any>
getDirective(): Maybe<GraphQLDirective>
getEnumValue(): Maybe<GraphQLEnumValue>
getFieldDef(): GraphQLField<any, Maybe<any>>
getInputType(): Maybe<GraphQLInputType>
getParentInputType(): Maybe<GraphQLInputType>
getParentType(): Maybe<GraphQLCompositeType>
getType(): Maybe<GraphQLOutputType>