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 @@ -413,6 +413,7 @@ FieldsInSetCanMerge(set):
413
413
{set} including visiting fragments and inline fragments.
414
414
* Given each pair of members {fieldA} and {fieldB} in {fieldsForName}:
415
415
* {SameResponseShape(fieldA, fieldB)} must be true.
416
+ * {SameStreamDirective(fieldA, fieldB)} must be true.
416
417
* If the parent types of {fieldA} and {fieldB} are equal or if either is not
417
418
an Object Type:
418
419
* {fieldA} and {fieldB} must have identical field names.
@@ -446,6 +447,16 @@ SameResponseShape(fieldA, fieldB):
446
447
* If {SameResponseShape(subfieldA, subfieldB)} is false, return false.
447
448
* Return true.
448
449
450
+ SameStreamDirective(fieldA, fieldB):
451
+
452
+ * If neither {fieldA} nor {fieldB} has a directive named ` stream ` .
453
+ * Return true.
454
+ * If both {fieldA} and {fieldB} have a directive named ` stream ` .
455
+ * Let {streamA} be the directive named ` stream ` on {fieldA}.
456
+ * Let {streamB} be the directive named ` stream ` on {fieldB}.
457
+ * If {streamA} and {streamB} have identical sets of arguments, return true.
458
+ * Return false.
459
+
449
460
** Explanatory Text**
450
461
451
462
If multiple field selections with the same response names are encountered
You can’t perform that action at this time.
0 commit comments