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
455455_ field error_ then that error must propagate to this entire selection set,
456456either resolving to {null} if allowed or further propagated to a parent field.
457457
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.
463468
464469Note: See [ Handling Field Errors] ( #sec-Handling-Field-Errors ) for more about
465470this behavior.
You can’t perform that action at this time.
0 commit comments