@@ -211,7 +211,7 @@ query getName {
211211
212212** Explanatory Text **
213213
214- The target field of a field selection must defined on the scoped type of the
214+ The target field of a field selection must be defined on the scoped type of the
215215selection set. There are no limitations on alias names.
216216
217217For example the following fragment would not pass validation:
@@ -227,7 +227,7 @@ fragment aliasedLyingFieldTargetNotDefined on Dog {
227227```
228228
229229For interfaces, direct field selection can only be done on fields. Fields
230- of concrete implementors is not relevant to the validity of the given
230+ of concrete implementors are not relevant to the validity of the given
231231interface-typed selection set.
232232
233233For example, the following is valid:
@@ -1066,15 +1066,15 @@ fragment unionWithObjectFragment on Dog {
10661066
10671067is valid because {Dog} is a member of the {CatOrDog} union. It is worth
10681068noting that if one inspected the contents of the {CatOrDogNameFragment}
1069- you could note that the no valid results would ever be returned. However
1069+ you could note that no valid results would ever be returned. However
10701070we do not specify this as invalid because we only consider the fragment
10711071declaration, not its body.
10721072
10731073
10741074##### Object Spreads In Abstract Scope
10751075
10761076Union or interface spreads can be used within the context of an object type
1077- fragment, but only if the object type is one of the possible types of the
1077+ fragment, but only if the object type is one of the possible types of
10781078that interface or union.
10791079
10801080For example, the following fragments are valid:
@@ -1174,8 +1174,8 @@ and {Sentient}.
11741174
11751175** Explanatory Text **
11761176
1177- Input objects must not contain more than one fields of the same name, otherwise
1178- an amgibuity would exist which includes an ignored portion of syntax.
1177+ Input objects must not contain more than one field of the same name, otherwise
1178+ an ambiguity would exist which includes an ignored portion of syntax.
11791179
11801180For example the following query will not pass validation.
11811181
@@ -1212,7 +1212,7 @@ usage of a directive, the directive must be available on that server.
12121212 * Let {directiveName} be the name of {directive}.
12131213 * Let {directiveDefinition} be the directive named {directiveName}.
12141214 * Let {locations} be the valid locations for {directiveDefinition}.
1215- * Let {adjacent} be the AST node the directive effects .
1215+ * Let {adjacent} be the AST node the directive affects .
12161216 * {adjacent} must be represented by an item within {locations}.
12171217
12181218** Explanatory Text **
@@ -1287,7 +1287,7 @@ fragment HouseTrainedFragment {
12871287 * For every {variable} on each {operation}
12881288 * Let {variableType} be the type of {variable}
12891289 * If {variableType} is non-null it cannot have a default value
1290- * If {variable} has a default value it must be of the same types
1290+ * If {variable} has a default value it must be of the same type
12911291 or able to be coerced to {variableType}
12921292
12931293** Explanatory Text **
@@ -1352,12 +1352,12 @@ query intToFloatQuery($floatVar: Float = 1) {
13521352 * Let {variableType} be the type of {variable}
13531353 * While {variableType} is {LIST} or {NON_NULL}
13541354 * Let {variableType} be the referenced type of {variableType}
1355- * {variableType} must of kind {SCALAR}, {ENUM} or {INPUT_OBJECT}
1355+ * {variableType} must be of kind {SCALAR}, {ENUM} or {INPUT_OBJECT}
13561356
13571357** Explanatory Text **
13581358
13591359Variables can only be scalars, enums, input objects, or lists and non-null
1360- variants of those types. These are known as input types. Object , unions,
1360+ variants of those types. These are known as input types. Objects , unions,
13611361and interfaces cannot be used as inputs.
13621362
13631363For these examples, consider the following typesystem additions:
@@ -1417,16 +1417,16 @@ query takesCatOrDog($catOrDog: CatOrDog) {
14171417** Formal Specification **
14181418
14191419 * For each {operation} in a document
1420- * For each {variableUsage} in scope, variable must be operation's variable list.
1421- * Let {fragments} be every fragment reference by that operation transitively
1420+ * For each {variableUsage} in scope, variable must be in { operation} 's variable list.
1421+ * Let {fragments} be every fragment referenced by that { operation} transitively
14221422 * For each {fragment} in {fragments}
1423- * For each {variableUsage} in scope of {fragment}, variable must be
1423+ * For each {variableUsage} in scope of {fragment}, variable must be in
14241424 {operation}'s variable list.
14251425
14261426** Explanatory Text **
14271427
14281428Variables are scoped on a per-operation basis. That means that any variable
1429- used within the context of a operation must be defined at the top level of that
1429+ used within the context of an operation must be defined at the top level of that
14301430operation
14311431
14321432For example:
@@ -1581,7 +1581,7 @@ query variableUnused($atOtherHomes: Boolean) {
15811581}
15821582```
15831583
1584- because ${atOtherHomes} in not referenced.
1584+ because ${atOtherHomes} is not referenced.
15851585
15861586These rules apply to transitive fragment spreads as well:
15871587
@@ -1645,14 +1645,14 @@ an extraneous variable.
16451645 * For each {operation} in {document}
16461646 * Let {variableUsages} be all usages transitively included in the {operation}
16471647 * For each {variableUsage} in {variableUsages}
1648- * Let {variableType} be the type of variable definition in the operation
1648+ * Let {variableType} be the type of variable definition in the { operation}
16491649 * Let {argumentType} be the type of the argument the variable is passed to.
16501650 * Let {hasDefault} be true if the variable definition defines a default.
16511651 * AreTypesCompatible({argumentType}, {variableType}, {hasDefault}) must be true
16521652
16531653 * AreTypesCompatible({argumentType}, {variableType}, {hasDefault}):
16541654 * If {hasDefault} is true, treat the {variableType} as non-null.
1655- * If inner type of {argumentType} and {variableType} be different, return false
1655+ * If inner type of {argumentType} and {variableType} are different, return false
16561656 * If {argumentType} and {variableType} have different list dimensions, return false
16571657 * If any list level of {variableType} is not non-null, and the corresponding level
16581658 in {argument} is non-null, the types are not compatible.
0 commit comments