import { GraphQL } from "https://deno.land/x/drash@v2.8.1/src/services/graphql/deps.ts";
const { GraphQLDirective } = GraphQL;
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>
extensions: Maybe<Readonly<GraphQLDirectiveExtensions>>
locations: Array<DirectiveLocationEnum>
Methods
inspect(): string
toConfig(): GraphQLDirectiveConfig & { args: GraphQLFieldConfigArgumentMap; isRepeatable: boolean; extensions: Maybe<Readonly<GraphQLDirectiveExtensions>>; }
toJSON(): string
toString(): string