Skip to main content

GraphQLDirectiveImpl

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

Hierarchy

  • GraphQLEntityImpl
    • GraphQLDirectiveImpl

Implements

  • GraphQLDirective

Index

Constructors

constructor

Properties

readonly[GRAPHQL_DIRECTIVE_SYMBOL]

[GRAPHQL_DIRECTIVE_SYMBOL]: true = true

readonly[GRAPHQL_VERSION_SYMBOL]

[GRAPHQL_VERSION_SYMBOL]: undefined = undefined

args

args: readonly GraphQLArgument[]

astNode

astNode: Maybe<DirectiveDefinitionNode>

description

description: Maybe<string>

extensions

extensions: Readonly<GraphQLDirectiveExtensions>

isRepeatable

isRepeatable: boolean

locations

locations: readonly DirectiveLocation[]

name

name: string

Accessors

[toStringTag]

  • get [toStringTag](): string
  • Returns string

Methods

toConfig

  • toConfig(): GraphQLDirectiveNormalizedConfig
  • Returns GraphQLDirectiveNormalizedConfig

toJSON

  • toJSON(): string
  • Returns string

toString

  • toString(): string
  • Returns string