@@ -887,7 +887,7 @@ fragment ownerFragment on Dog {
887
887
888
888
** Formal Specification **
889
889
890
- * For each {spread} (named or inline) in defined in the document.
890
+ * For each {spread} (named or inline) defined in the document.
891
891
* Let {fragment} be the target of {spread}
892
892
* Let {fragmentType} be the type condition of {fragment}
893
893
* Let {parentType} be the type of the selection set containing {spread}
@@ -910,7 +910,7 @@ the parent type.
910
910
911
911
##### Object Spreads In Object Scope
912
912
913
- In the scope of a object type, the only valid object type
913
+ In the scope of an object type, the only valid object type
914
914
fragment spread is one that applies to the same type that
915
915
is in scope.
916
916
@@ -1100,11 +1100,9 @@ For example the following query will not pass validation.
1100
1100
GraphQL servers define what directives they support. For each
1101
1101
usage of a directive, the directive must be available on that server.
1102
1102
1103
- ## Operations
1104
-
1105
- ### Variables
1103
+ ## Variables
1106
1104
1107
- #### Variable Default Values Are Correctly Typed
1105
+ ### Variable Default Values Are Correctly Typed
1108
1106
1109
1107
** Formal Specification **
1110
1108
@@ -1117,8 +1115,8 @@ usage of a directive, the directive must be available on that server.
1117
1115
1118
1116
** Explanatory Text **
1119
1117
1120
- Variable defined by operations are allowed to define default values
1121
- if the type of that variable not non-null.
1118
+ Variables defined by operations are allowed to define default values
1119
+ if the type of that variable is not non-null.
1122
1120
1123
1121
For example the following query will pass validation.
1124
1122
@@ -1167,7 +1165,7 @@ query intToFloatQuery($floatVar: Float = 1) {
1167
1165
}
1168
1166
```
1169
1167
1170
- #### Variables Are Input Types
1168
+ ### Variables Are Input Types
1171
1169
1172
1170
** Formal Specification **
1173
1171
@@ -1235,7 +1233,7 @@ query takesCatOrDog($catOrDog: CatOrDog) {
1235
1233
}
1236
1234
```
1237
1235
1238
- #### All Variable Uses Defined
1236
+ ### All Variable Uses Defined
1239
1237
1240
1238
** Formal Specification **
1241
1239
@@ -1377,7 +1375,7 @@ This is because {housetrainedQueryTwoNotDefined} does not define
1377
1375
a variable ${atOtherHomes} but that variable is used by {isHousetrainedFragment}
1378
1376
which is included in that operation.
1379
1377
1380
- #### All Variables Used
1378
+ ### All Variables Used
1381
1379
1382
1380
** Formal Specification **
1383
1381
@@ -1459,7 +1457,7 @@ fragment isHousetrainedFragment on Dog {
1459
1457
This document is not valid because {queryWithExtraVar} defines
1460
1458
an extraneous variable.
1461
1459
1462
- #### All Variable Usages are Allowed
1460
+ ### All Variable Usages are Allowed
1463
1461
1464
1462
** Formal Specification **
1465
1463
0 commit comments