File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -455,11 +455,16 @@ If during {ExecuteSelectionSet()} a field with a non-null {fieldType} raises a
455
455
_ field error_ then that error must propagate to this entire selection set,
456
456
either resolving to {null} if allowed or further propagated to a parent field.
457
457
458
- If this occurs, any defer or stream executions with a path that starts with the
459
- same path as the resolved {null} must not return their results to the client.
460
- These defer or stream executions or any sibling fields which have not yet
461
- executed or have not yet yielded a value may be cancelled to avoid unnecessary
462
- work.
458
+ If this occurs, any sibling fields which have not yet executed or have not yet
459
+ yielded a value may be cancelled to avoid unnecessary work.
460
+
461
+ Additionally, the path of each {asyncRecord} in {subsequentPayloads} must be
462
+ compared with the path of the field that ultimately resolved to {null}. If the
463
+ path of any {asyncRecord} starts with, but is not equal to, the path of the
464
+ resolved {null}, the {asyncRecord} must be removed from {subsequentPayloads} and
465
+ its result must not be sent to clients. If these async records have not yet
466
+ executed or have not yet yielded a value they may also be cancelled to avoid
467
+ unnecessary work.
463
468
464
469
Note: See [ Handling Field Errors] ( #sec-Handling-Field-Errors ) for more about
465
470
this behavior.
You can’t perform that action at this time.
0 commit comments