ENUM

__DirectiveLocation

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

link GraphQL Schema definition

1enum __DirectiveLocation {
2
3# Location adjacent to a query operation.
4QUERY
5
6# Location adjacent to a mutation operation.
7MUTATION
8
9# Location adjacent to a subscription operation.
10SUBSCRIPTION
11
12# Location adjacent to a field.
13FIELD
14
15# Location adjacent to a fragment definition.
16FRAGMENT_DEFINITION
17
18# Location adjacent to a fragment spread.
19FRAGMENT_SPREAD
20
21# Location adjacent to an inline fragment.
22INLINE_FRAGMENT
23
24# Location adjacent to a schema definition.
25SCHEMA
26
27# Location adjacent to a scalar definition.
28SCALAR
29
30# Location adjacent to an object type definition.
31OBJECT
32
33# Location adjacent to a field definition.
34FIELD_DEFINITION
35
36# Location adjacent to an argument definition.
37ARGUMENT_DEFINITION
38
39# Location adjacent to an interface definition.
40INTERFACE
41
42# Location adjacent to a union definition.
43UNION
44
45# Location adjacent to an enum definition.
46ENUM
47
48# Location adjacent to an enum value definition.
49ENUM_VALUE
50
51# Location adjacent to an input object type definition.
52INPUT_OBJECT
53
54# Location adjacent to an input object field definition.
55INPUT_FIELD_DEFINITION
56}