Skip to main content

ValidationContext

Hierarchy

  • ASTValidationContext
    • ValidationContext

Index

Constructors

constructor

Accessors

[toStringTag]

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

Methods

getArgument

getDirective

getDocument

  • Returns DocumentNode

getEnumValue

getFieldDef

getFragment

getFragmentSignature

  • getFragmentSignature(): Maybe<FragmentSignature>
  • Returns Maybe<FragmentSignature>

getFragmentSignatureByName

  • getFragmentSignatureByName(): (fragmentName: string) => Maybe<FragmentSignature>
  • Returns (fragmentName: string) => Maybe<FragmentSignature>

      • (fragmentName: string): Maybe<FragmentSignature>
      • Parameters

        • fragmentName: string

        Returns Maybe<FragmentSignature>

getFragmentSpreads

getInputType

getParentInputType

getParentType

getRecursiveVariableUsages

getRecursivelyReferencedFragments

getSchema

getType

getVariableUsages

  • getVariableUsages(node: NodeWithSelectionSet): readonly VariableUsage[]
  • Parameters

    • node: NodeWithSelectionSet

    Returns readonly VariableUsage[]

reportError

  • Parameters

    Returns void