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):
446446- If {typeA} or {typeB} is Scalar or Enum:
447447 - If {typeA} and {typeB} are the same type return {true}, otherwise return
448448 {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.
450451- Let {mergedSet} be the result of adding the selection set of {fieldA} and the
451452 selection set of {fieldB}.
452453- Let {fieldsForName} be the set of selections with a given response name in
@@ -455,6 +456,9 @@ SameResponseShape(fieldA, fieldB):
455456 - If {SameResponseShape(subfieldA, subfieldB)} is {false}, return {false}.
456457- Return {true}.
457458
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+
458462** Explanatory Text**
459463
460464If multiple field selections with the same response names are encountered during
@@ -910,7 +914,7 @@ fragment inlineNotExistingType on Dog {
910914}
911915```
912916
913- #### Fragments on Composite Types
917+ #### Fragments on Object, Interface or Union Types
914918
915919** Formal Specification**
916920
You can’t perform that action at this time.
0 commit comments