import { GraphQLDirective } from "https://dotland.deno.dev/x/graphql_deno@v15.0.0/lib/type/directives.d.ts";
Directives are used by the GraphQL runtime as a way of modifying execution behavior. Type system creators will usually not create these directly.
Constructors
new
GraphQLDirective(config: Readonly<GraphQLDirectiveConfig>)Properties
args: Array<GraphQLArgument>
astNode: Maybe<DirectiveDefinitionNode>
description: Maybe<string>
extensions: Maybe<Readonly<Record<string, any>>>
locations: Array<DirectiveLocationEnum>
Methods
inspect(): string
toConfig(): GraphQLDirectiveConfig & { args: GraphQLFieldConfigArgumentMap; isRepeatable: boolean; extensions: Maybe<Readonly<Record<string, any>>>; }
toJSON(): string
toString(): string