Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GraphQLDirective

Directives are used by the GraphQL runtime as a way of modifying execution behavior. Type system creators will usually not create these directly.

class GraphQLDirective {
constructor(config: Readonly<GraphQLDirectiveConfig>);
args: ReadonlyArray<GraphQLArgument>;
astNode: Maybe<DirectiveDefinitionNode>;
description: Maybe<string>;
extensions: Readonly<GraphQLDirectiveExtensions>;
isRepeatable: boolean;
locations: ReadonlyArray<DirectiveLocation>;
name: string;
get [Symbol.toStringTag](): string;
 
toConfig(): GraphQLDirectiveNormalizedConfig;
toJSON(): string;
toString(): string;
}

§Constructors

§
new GraphQLDirective(config: Readonly<GraphQLDirectiveConfig>)
[src]

§Properties

§
args: ReadonlyArray<GraphQLArgument>
[src]
§
description: Maybe<string>
[src]
§
extensions: Readonly<GraphQLDirectiveExtensions>
[src]
§
isRepeatable: boolean
[src]
§
locations: ReadonlyArray<DirectiveLocation>
[src]
§
name: string
[src]
§
[Symbol.toStringTag]: string readonly
[src]

§Methods

§
toConfig(): GraphQLDirectiveNormalizedConfig
[src]
§
toJSON(): string
[src]
§
toString(): string
[src]