File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1359,8 +1359,8 @@ since {isHousetrainedFragment} is used within the context of the operation
13591359{variableIsDefinedUsedInSingleFragment} and the variable is defined by that
13601360operation.
13611361
1362- On the contrary is a fragment is included within an operation that does
1363- not define a referenced variable, this is a validation error .
1362+ On the other hand, if a fragment is included within an operation that does
1363+ not define a referenced variable, the query is invalid .
13641364
13651365``` !graphql
13661366query variableIsNotDefinedUsedInSingleFragment {
@@ -1592,8 +1592,9 @@ query booleanArgQueryWithDefault($booleanArg: Boolean = true) {
15921592```
15931593
15941594For list types, the same rules around nullability apply to both outer types
1595- and inner types. A nullable list cannot be passed to a non-null list, and a lists
1595+ and inner types. A nullable list cannot be passed to a non-null list, and a list
15961596of nullable values cannot be passed to a list of non-null values.
1597+ The following is valid:
15971598
15981599``` graphql
15991600query nonNullListToList ($nonNullBooleanList : [Boolean ]! ) {
@@ -1603,7 +1604,7 @@ query nonNullListToList($nonNullBooleanList: [Boolean]!) {
16031604}
16041605```
16051606
1606- However a nullable list could not be passed to a non-null list.
1607+ However, a nullable list cannot be passed to a non-null list:
16071608
16081609``` !graphql
16091610query listToNonNullList($booleanList: [Boolean]) {
You can’t perform that action at this time.
0 commit comments