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]§
astNode: Maybe<DirectiveDefinitionNode>
[src]§
extensions: Readonly<GraphQLDirectiveExtensions>
[src]§
locations: ReadonlyArray<DirectiveLocation>
[src]