Skip to main content
Module

x/graphql_deno/mod.ts>GraphQLDirective

GraphQL-JS ported to Deno
Latest
class GraphQLDirective
import { GraphQLDirective } from "https://deno.land/x/graphql_deno@v15.0.0/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: Array<GraphQLArgument>
astNode: Maybe<DirectiveDefinitionNode>
description: Maybe<string>
extensions: Maybe<Readonly<Record<string, any>>>
isRepeatable: boolean
locations: Array<DirectiveLocationEnum>
name: string

Methods

inspect(): string
toConfig(): GraphQLDirectiveConfig & { args: GraphQLFieldConfigArgumentMap; isRepeatable: boolean; extensions: Maybe<Readonly<Record<string, any>>>; }
toJSON(): string
toString(): string