You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec/Section 5 -- Validation.md
+3-6Lines changed: 3 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -425,7 +425,7 @@ FieldsInSetCanMerge(set):
425
425
{visitedSelections}.
426
426
- For each {spreadsForName} as {name} and {spreads}:
427
427
- Each entry in {spreads} must have identical sets of arguments to each other entry in {spreads}.
428
-
- Let {fieldsForName} be the set of selections with a given response name in
428
+
- Let {fieldsForName} be the set of field selections with a given response name in
429
429
{visitedSelections}.
430
430
- Given each pair of members {fieldA} and {fieldB} in {fieldsForName}:
431
431
- {SameResponseShape(fieldA, fieldB)} must be true.
@@ -731,7 +731,7 @@ fragment invalidArgName on Dog {
731
731
}
732
732
```
733
733
734
-
and this is also invalid as the variable`dogCommand` is not defined on fragment
734
+
and this is also invalid as the argument`dogCommand` is not defined on fragment
735
735
`withFragmentArg`.
736
736
737
737
```graphql counter-example
@@ -1989,10 +1989,7 @@ fragment fragmentArgUnused($atOtherHomes: Boolean) on Dog {
1989
1989
}
1990
1990
```
1991
1991
1992
-
This document is invalid: even though `fragmentArgUnused` is spread with the
1993
-
argument `atOtherHomes` and `$atOtherHomes` is defined as an operation variable,
1994
-
there is never a variable `$atOtherHomes` used within the scope of
1995
-
`fragmentArgUnused`.
1992
+
This document is invalid: fragment `fragmentArgUnused` defines a fragment variable `$atOtherHomes`, but this variable is not used within this fragment.
0 commit comments