Latest
class ValidationContext
extends ASTValidationContext
import { ValidationContext } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/validation/index.d.ts";

Constructors

new
ValidationContext(
schema: GraphQLSchema,
ast: DocumentNode,
typeInfo: TypeInfo,
onError: (err: GraphQLError) => void,
)

Methods

getArgument(): Maybe<GraphQLArgument>
getDirective(): Maybe<GraphQLDirective>
getFieldDef(): Maybe<GraphQLField<any, any>>
getInputType(): Maybe<GraphQLInputType>
getParentInputType(): Maybe<GraphQLInputType>
getParentType(): Maybe<GraphQLCompositeType>
getRecursivelyReferencedFragments(operation: OperationDefinitionNode): ReadonlyArray<FragmentDefinitionNode>
getSchema(): GraphQLSchema
getType(): Maybe<GraphQLOutputType>
getVariableUsages(node: NodeWithSelectionSet): ReadonlyArray<VariableUsage>