__DirectiveLocation

An enum describing valid locations where a directive can be placed
  • QUERY
    Indicates the directive is valid on queries.
  • MUTATION
    Indicates the directive is valid on mutations.
  • SUBSCRIPTION
    Indicates the directive is valid on subscriptions.
  • FIELD
    Indicates the directive is valid on fields.
  • FRAGMENT_DEFINITION
    Indicates the directive is valid on fragment definitions.
  • FRAGMENT_SPREAD
    Indicates the directive is valid on fragment spreads.
  • INLINE_FRAGMENT
    Indicates the directive is valid on inline fragments.
  • VARIABLE_DEFINITION
    Indicates the directive is valid on variable definitions.
  • SCHEMA
    Indicates the directive is valid on a schema SDL definition.
  • SCALAR
    Indicates the directive is valid on a scalar SDL definition.
  • OBJECT
    Indicates the directive is valid on an object SDL definition.
  • FIELD_DEFINITION
    Indicates the directive is valid on a field SDL definition.
  • ARGUMENT_DEFINITION
    Indicates the directive is valid on a field argument SDL definition.
  • INTERFACE
    Indicates the directive is valid on an interface SDL definition.
  • UNION
    Indicates the directive is valid on an union SDL definition.
  • ENUM
    Indicates the directive is valid on an enum SDL definition.
  • ENUM_VALUE
    Indicates the directive is valid on an enum value SDL definition.
  • INPUT_OBJECT
    Indicates the directive is valid on an input object SDL definition.
  • INPUT_FIELD_DEFINITION
    Indicates the directive is valid on an input object field SDL definition.