Skip to content

Commit c46e706

Browse files
committed
address validation comments
1 parent 562edd8 commit c46e706

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/Section 5 -- Validation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ FieldsInSetCanMerge(set):
424424
- Let {spreadsForName} be the set of fragment spreads with a given name in
425425
{visitedSelections}.
426426
- Given each pair of members {spreadA} and {spreadB} in {spreadsForName}:
427-
- {spreadA} and {spreadB} must have identical sets of arguments.
427+
- {spreadA} and {spreadB} must have identical sets of arguments, values and directives.
428428
- Let {fieldsForName} be the set of selections with a given response name in
429429
{visitedSelections}.
430430
- Given each pair of members {fieldA} and {fieldB} in {fieldsForName}:
@@ -1636,8 +1636,8 @@ fragment HouseTrainedFragment on Query {
16361636
}
16371637
```
16381638

1639-
Likewise, it is valid for both an operation and a fragment to define a variable
1640-
with the same name:
1639+
Likewise, it is valid for a fragment to define a variable with a name that
1640+
is also defined on an operation:
16411641

16421642
```graphql example
16431643
query C($atOtherHomes: Boolean) {

0 commit comments

Comments
 (0)