Skip to main content

TypeInfo

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).

Index

Constructors

constructor

Accessors

[toStringTag]

  • get [toStringTag](): string
  • Returns string

Methods

enter

  • Parameters

    Returns void

getArgument

getDefaultValue

  • getDefaultValue(): unknown
  • Returns unknown

getDirective

getEnumValue

getFieldDef

getInputType

getParentInputType

getParentType

getType

leave

  • Parameters

    Returns void