File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -411,6 +411,7 @@ FieldsInSetCanMerge(set):
411411 {set} including visiting fragments and inline fragments.
412412 * Given each pair of members {fieldA} and {fieldB} in {fieldsForName}:
413413 * {SameResponseShape(fieldA, fieldB)} must be true.
414+ * {SameStreamDirective(fieldA, fieldB)} must be true.
414415 * If the parent types of {fieldA} and {fieldB} are equal or if either is not
415416 an Object Type:
416417 * {fieldA} and {fieldB} must have identical field names.
@@ -444,6 +445,16 @@ SameResponseShape(fieldA, fieldB):
444445 * If {SameResponseShape(subfieldA, subfieldB)} is false, return false.
445446 * Return true.
446447
448+ SameStreamDirective(fieldA, fieldB):
449+
450+ * If neither {fieldA} nor {fieldB} has a directive named ` stream ` .
451+ * Return true.
452+ * If both {fieldA} and {fieldB} have a directive named ` stream ` .
453+ * Let {streamA} be the directive named ` stream ` on {fieldA}.
454+ * Let {streamB} be the directive named ` stream ` on {fieldB}.
455+ * If {streamA} and {streamB} have identical sets of arguments, return true.
456+ * Return false.
457+
447458** Explanatory Text**
448459
449460If multiple field selections with the same response names are encountered
You can’t perform that action at this time.
0 commit comments