Skip to main content
Log inSign up
enum

A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.

Location adjacent to an argument definition.

Location adjacent to an enum definition.

Location adjacent to an enum value definition.

Location adjacent to a field.

Location adjacent to a field definition.

Location adjacent to a fragment definition.

Location adjacent to a fragment spread.

Location adjacent to an inline fragment.

Anchor to INPUT_FIELD_DEFINITIONINPUT_FIELD_DEFINITION

Location adjacent to an input object field definition.

Location adjacent to an input object type definition.

Location adjacent to an interface definition.

Location adjacent to a mutation operation.

Location adjacent to an object type definition.

Location adjacent to a query operation.

Location adjacent to a scalar definition.

Location adjacent to a schema definition.

Location adjacent to a subscription operation.

Location adjacent to a union definition.

Location adjacent to a variable definition.


Was this section helpful?