File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -446,7 +446,8 @@ SameResponseShape(fieldA, fieldB):
446
446
- If {typeA} or {typeB} is Scalar or Enum:
447
447
- If {typeA} and {typeB} are the same type return {true}, otherwise return
448
448
{false}.
449
- - Assert: {typeA} and {typeB} are both composite types.
449
+ - Assert: {typeA} is an object, union or interface type.
450
+ - Assert: {typeB} is an object, union or interface type.
450
451
- Let {mergedSet} be the result of adding the selection set of {fieldA} and the
451
452
selection set of {fieldB}.
452
453
- Let {fieldsForName} be the set of selections with a given response name in
@@ -455,6 +456,9 @@ SameResponseShape(fieldA, fieldB):
455
456
- If {SameResponseShape(subfieldA, subfieldB)} is {false}, return {false}.
456
457
- Return {true}.
457
458
459
+ Note: In prior versions of the spec the term "composite" was used to signal a
460
+ type that is either an Object, Interface or Union type.
461
+
458
462
** Explanatory Text**
459
463
460
464
If multiple field selections with the same response names are encountered during
@@ -910,7 +914,7 @@ fragment inlineNotExistingType on Dog {
910
914
}
911
915
```
912
916
913
- #### Fragments on Composite Types
917
+ #### Fragments on Object, Interface or Union Types
914
918
915
919
** Formal Specification**
916
920
You can’t perform that action at this time.
0 commit comments