Skip to content

Commit 94f55b9

Browse files
authored
Clarify pair members are distinct
1 parent e9ac8c8 commit 94f55b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/Section 5 -- Validation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ FieldsInSetCanMerge(set):
420420

421421
- Let {fieldsForName} be the set of selections with a given response name in
422422
{set} including visiting fragments and inline fragments.
423-
- Given each pair of members {fieldA} and {fieldB} in {fieldsForName}:
423+
- Given each pair of distinct members {fieldA} and {fieldB} in {fieldsForName}:
424424
- {SameResponseShape(fieldA, fieldB)} must be true.
425425
- If the parent types of {fieldA} and {fieldB} are equal or if either is not
426426
an Object Type:
@@ -452,7 +452,7 @@ SameResponseShape(fieldA, fieldB):
452452
selection set of {fieldB}.
453453
- Let {fieldsForName} be the set of selections with a given response name in
454454
{mergedSet} including visiting fragments and inline fragments.
455-
- Given each pair of members {subfieldA} and {subfieldB} in {fieldsForName}:
455+
- Given each pair of distinct members {subfieldA} and {subfieldB} in {fieldsForName}:
456456
- If {SameResponseShape(subfieldA, subfieldB)} is {false}, return {false}.
457457
- Return {true}.
458458

0 commit comments

Comments
 (0)