File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -591,15 +591,17 @@ fragment potentiallyConflictingArguments(
591
591
... commandFragment (command : $commandTwo )
592
592
}
593
593
594
- fragment safeFragmentArguments on Dog {
595
- ... potentiallyConflictingArguments (commandOne : SIT , commandTwo : DOWN )
594
+ query {
595
+ pet {
596
+ ... potentiallyConflictingArguments (commandOne : SIT , commandTwo : DOWN )
597
+ }
596
598
}
597
599
```
598
600
599
- If two fragment spreads with the same name supply different argument values ,
600
- their fields will not be able to merge. In this case, validation fails because
601
- the fragment spread ` ...commandFragment(command: SIT) ` and
602
- ` ...commandFragment(command: DOWN) ` are part of the visited selections that will
601
+ If two fragment spreads with the same name, and hence the same selection ,
602
+ supply different argument values, their fields will not be able to merge.
603
+ In this case, validation fails because the fragment spread ` ...commandFragment(command: SIT) `
604
+ and ` ...commandFragment(command: DOWN) ` are part of the visited selections that will
603
605
be merged.
604
606
605
607
If both of these spreads would have ` $commandOne ` or ` $commandTwo ` as the
You can’t perform that action at this time.
0 commit comments