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 variable definition.
25VARIABLE_DEFINITION
26
27# Location adjacent to a schema definition.
28SCHEMA
29
30# Location adjacent to a scalar definition.
31SCALAR
32
33# Location adjacent to an object type definition.
34OBJECT
35
36# Location adjacent to a field definition.
37FIELD_DEFINITION
38
39# Location adjacent to an argument definition.
40ARGUMENT_DEFINITION
41
42# Location adjacent to an interface definition.
43INTERFACE
44
45# Location adjacent to a union definition.
46UNION
47
48# Location adjacent to an enum definition.
49ENUM
50
51# Location adjacent to an enum value definition.
52ENUM_VALUE
53
54# Location adjacent to an input object type definition.
55INPUT_OBJECT
56
57# Location adjacent to an input object field definition.
58INPUT_FIELD_DEFINITION
59}