@@ -19,7 +19,7 @@ or development-time tool should report validation errors and not allow the
19
19
formulation or execution of requests known to be invalid at that given point in
20
20
time.
21
21
22
- ** Type system evolution **
22
+ ** Type System Evolution **
23
23
24
24
As GraphQL type system schema evolves over time by adding new types and new
25
25
fields, it is possible that a request which was previously valid could later
@@ -251,7 +251,7 @@ query getName {
251
251
252
252
### Subscription Operation Definitions
253
253
254
- #### Single root field
254
+ #### Single Root Field
255
255
256
256
** Formal Specification**
257
257
@@ -910,7 +910,7 @@ fragment inlineNotExistingType on Dog {
910
910
}
911
911
```
912
912
913
- #### Fragments On Composite Types
913
+ #### Fragments on Composite Types
914
914
915
915
** Formal Specification**
916
916
@@ -987,7 +987,7 @@ Field selection is also determined by spreading fragments into one another. The
987
987
selection set of the target fragment is combined into the selection set at the
988
988
level at which the target fragment is referenced.
989
989
990
- #### Fragment spread target defined
990
+ #### Fragment Spread Target Defined
991
991
992
992
** Formal Specification**
993
993
@@ -1008,7 +1008,7 @@ is a validation error if the target of a spread is not defined.
1008
1008
}
1009
1009
```
1010
1010
1011
- #### Fragment spreads must not form cycles
1011
+ #### Fragment Spreads Must Not Form Cycles
1012
1012
1013
1013
** Formal Specification**
1014
1014
@@ -1093,7 +1093,7 @@ fragment ownerFragment on Human {
1093
1093
}
1094
1094
```
1095
1095
1096
- #### Fragment spread is possible
1096
+ #### Fragment Spread Is Possible
1097
1097
1098
1098
** Formal Specification**
1099
1099
@@ -1118,7 +1118,7 @@ type matches the type condition. They also are spread within the context of a
1118
1118
parent type. A fragment spread is only valid if its type condition could ever
1119
1119
apply within the parent type.
1120
1120
1121
- ##### Object Spreads In Object Scope
1121
+ ##### Object Spreads in Object Scope
1122
1122
1123
1123
In the scope of an object type, the only valid object type fragment spread is
1124
1124
one that applies to the same type that is in scope.
@@ -1181,7 +1181,7 @@ that if one inspected the contents of the {CatOrDogNameFragment} you could note
1181
1181
that no valid results would ever be returned. However we do not specify this as
1182
1182
invalid because we only consider the fragment declaration, not its body.
1183
1183
1184
- ##### Object Spreads In Abstract Scope
1184
+ ##### Object Spreads in Abstract Scope
1185
1185
1186
1186
Union or interface spreads can be used within the context of an object type
1187
1187
fragment, but only if the object type is one of the possible types of that
@@ -1266,7 +1266,7 @@ fragment sentientFragment on Sentient {
1266
1266
is not valid because there exists no type that implements both {Pet} and
1267
1267
{Sentient}.
1268
1268
1269
- ** Interface Spreads in implemented Interface Scope**
1269
+ ** Interface Spreads in Implemented Interface Scope**
1270
1270
1271
1271
Additionally, an interface type fragment can always be spread into an interface
1272
1272
scope which it implements.
@@ -1447,7 +1447,7 @@ input object field is optional.
1447
1447
GraphQL services define what directives they support. For each usage of a
1448
1448
directive, the directive must be available on that service.
1449
1449
1450
- ### Directives Are In Valid Locations
1450
+ ### Directives Are in Valid Locations
1451
1451
1452
1452
** Formal Specification**
1453
1453
@@ -1473,7 +1473,7 @@ query @skip(if: $foo) {
1473
1473
}
1474
1474
```
1475
1475
1476
- ### Directives Are Unique Per Location
1476
+ ### Directives Are Unique per Location
1477
1477
1478
1478
** Formal Specification**
1479
1479
@@ -1853,7 +1853,7 @@ fragment isHouseTrainedFragment on Dog {
1853
1853
This document is not valid because {queryWithExtraVar} defines an extraneous
1854
1854
variable.
1855
1855
1856
- ### All Variable Usages are Allowed
1856
+ ### All Variable Usages Are Allowed
1857
1857
1858
1858
** Formal Specification**
1859
1859
@@ -1971,7 +1971,7 @@ query listToNonNullList($booleanList: [Boolean]) {
1971
1971
This would fail validation because a ` [T] ` cannot be passed to a ` [T]! ` .
1972
1972
Similarly a ` [T] ` cannot be passed to a ` [T!] ` .
1973
1973
1974
- ** Allowing optional variables when default values exist **
1974
+ ** Allowing Optional Variables When Default Values Exist **
1975
1975
1976
1976
A notable exception to typical variable type compatibility is allowing a
1977
1977
variable definition with a nullable type to be provided to a non-null location
0 commit comments