Skip to main content
Latest
class GraphQLDirective
import { GraphQLDirective } from "https://deno.land/x/kilatgraphql@16.6.0-1/mod.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: ReadonlyArray<GraphQLArgument>
astNode: Maybe<DirectiveDefinitionNode>
description: Maybe<string>
extensions: Readonly<GraphQLDirectiveExtensions>
isRepeatable: boolean
locations: ReadonlyArray<DirectiveLocation>
name: string
readonly
[Symbol.toStringTag]: string

Methods

toConfig(): GraphQLDirectiveNormalizedConfig
toJSON(): string
toString(): string