Skip to content

Commit 6e3d2d3

Browse files
committed
fix merge conflict resolution
1 parent ea0e7aa commit 6e3d2d3

File tree

1 file changed

+34
-11
lines changed

1 file changed

+34
-11
lines changed

spec/Section 4 -- Introspection.md

Lines changed: 34 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ would produce the result:
5656
}
5757
```
5858

59-
60-
## Reserved Names
59+
**Reserved Names**
6160

6261
Types and fields required by the GraphQL introspection system that are used in
6362
the same context as user-defined types and fields are prefixed with {"\_\_"} two
@@ -462,8 +461,7 @@ Fields\:
462461
- `deprecationReason` optionally provides a reason why this input field or
463462
argument is deprecated.
464463

465-
466-
### The __EnumValue Type
464+
### The \_\_EnumValue Type
467465

468466
The `__EnumValue` type represents one of possible values of an enum.
469467

@@ -473,18 +471,43 @@ Fields\:
473471
- `description` may return a String or {null}
474472
- `isDeprecated` returns {true} if this enum value should no longer be used,
475473
otherwise {false}.
476-
* `deprecationReason` optionally provides a reason why this enum value is deprecated.
474+
- `deprecationReason` optionally provides a reason why this enum value is
475+
deprecated.
477476

477+
### The \_\_Directive Type
478478

479-
### The __Directive Type
479+
The `__Directive` type represents a directive that a service supports.
480480

481-
The `__Directive` type represents a Directive that a server supports.
481+
This includes both any _built-in directive_ and any _custom directive_.
482482

483-
Fields
483+
Individual directives may only be used in locations that are explicitly
484+
supported. All possible locations are listed in the `__DirectiveLocation` enum:
484485

485-
* `name` must return a String
486-
* `description` may return a String or {null}
487-
* `locations` returns a List of `__DirectiveLocation` representing the valid
486+
- {"QUERY"}
487+
- {"MUTATION"}
488+
- {"SUBSCRIPTION"}
489+
- {"FIELD"}
490+
- {"FRAGMENT_DEFINITION"}
491+
- {"FRAGMENT_SPREAD"}
492+
- {"INLINE_FRAGMENT"}
493+
- {"VARIABLE_DEFINITION"}
494+
- {"SCHEMA"}
495+
- {"SCALAR"}
496+
- {"OBJECT"}
497+
- {"FIELD_DEFINITION"}
498+
- {"ARGUMENT_DEFINITION"}
499+
- {"INTERFACE"}
500+
- {"UNION"}
501+
- {"ENUM"}
502+
- {"ENUM_VALUE"}
503+
- {"INPUT_OBJECT"}
504+
- {"INPUT_FIELD_DEFINITION"}
505+
506+
Fields\:
507+
508+
- `name` must return a String
509+
- `description` may return a String or {null}
510+
- `locations` returns a List of `__DirectiveLocation` representing the valid
488511
locations this directive may be placed.
489512
- `args` returns a List of `__InputValue` representing the arguments this
490513
directive accepts.

0 commit comments

Comments
 (0)