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):
411
411
{set} including visiting fragments and inline fragments.
412
412
* Given each pair of members {fieldA} and {fieldB} in {fieldsForName}:
413
413
* {SameResponseShape(fieldA, fieldB)} must be true.
414
+ * {SameStreamDirective(fieldA, fieldB)} must be true.
414
415
* If the parent types of {fieldA} and {fieldB} are equal or if either is not
415
416
an Object Type:
416
417
* {fieldA} and {fieldB} must have identical field names.
@@ -444,6 +445,16 @@ SameResponseShape(fieldA, fieldB):
444
445
* If {SameResponseShape(subfieldA, subfieldB)} is false, return false.
445
446
* Return true.
446
447
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
+
447
458
** Explanatory Text**
448
459
449
460
If multiple field selections with the same response names are encountered
You can’t perform that action at this time.
0 commit comments