A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.
- QUERYLocation adjacent to a query operation.
- MUTATIONLocation adjacent to a mutation operation.
- SUBSCRIPTIONLocation adjacent to a subscription operation.
- FIELDLocation adjacent to a field.
- FRAGMENT_DEFINITIONLocation adjacent to a fragment definition.
- FRAGMENT_SPREADLocation adjacent to a fragment spread.
- INLINE_FRAGMENTLocation adjacent to an inline fragment.
- VARIABLE_DEFINITIONLocation adjacent to a variable definition.
- SCHEMALocation adjacent to a schema definition.
- SCALARLocation adjacent to a scalar definition.
- OBJECTLocation adjacent to an object type definition.
- FIELD_DEFINITIONLocation adjacent to a field definition.
- ARGUMENT_DEFINITIONLocation adjacent to an argument definition.
- INTERFACELocation adjacent to an interface definition.
- UNIONLocation adjacent to a union definition.
- ENUMLocation adjacent to an enum definition.
- ENUM_VALUELocation adjacent to an enum value definition.
- INPUT_OBJECTLocation adjacent to an input object type definition.
- INPUT_FIELD_DEFINITIONLocation adjacent to an input object field definition.