@@ -599,14 +599,14 @@ section.
599
599
<!-- Legacy link, this section was previously titled "Errors and Non-Null Fields" -->
600
600
</a >
601
601
602
- If during {ExecuteCollectedFields()} a _ response position_ with a non-null type
603
- raises an _ execution error_ then that error must propagate to the parent
604
- response position (the entire selection set in the case of a field, or the
602
+ If during {ExecuteCollectedFields()} an _ execution position_ with a non-null
603
+ type raises an _ execution error_ then that error must propagate to the parent
604
+ execution position (the entire selection set in the case of a field, or the
605
605
entire list in the case of a list position), either resolving to {null} if
606
- allowed or being further propagated to a parent response position.
606
+ allowed or being further propagated to a parent execution position.
607
607
608
- If this occurs, any sibling response positions which have not yet executed or
609
- have not yet yielded a value may be cancelled to avoid unnecessary work.
608
+ If this occurs, any sibling _ execution position _ which has not yet executed or
609
+ has not yet yielded a value may be cancelled to avoid unnecessary work.
610
610
611
611
Note: See [ Handling Execution Errors] ( #sec-Handling-Execution-Errors ) for more
612
612
about this behavior.
@@ -902,40 +902,40 @@ ResolveAbstractType(abstractType, objectValue):
902
902
</a >
903
903
904
904
An _ execution error_ is an error raised during field execution, value resolution
905
- or coercion, at a specific _ response position_ . While these errors must be
905
+ or coercion, at a specific _ execution position_ . While these errors must be
906
906
reported in the response, they are "handled" by producing partial {"data"} in
907
907
the _ response_ .
908
908
909
909
Note: This is distinct from a _ request error_ which results in a _ request error
910
910
result_ with no data.
911
911
912
912
If an execution error is raised while resolving a field (either directly or
913
- nested inside any lists), it is handled as though the _ response position_ at
913
+ nested inside any lists), it is handled as though the _ execution position_ at
914
914
which the error occurred resolved to {null}, and the error must be added to the
915
915
{"errors"} list in the _ execution result_ .
916
916
917
- If the result of resolving a _ response position_ is {null} (either due to the
917
+ If the result of resolving an _ execution position_ is {null} (either due to the
918
918
result of {ResolveFieldValue()} or because an execution error was raised), and
919
919
that position is of a ` Non-Null ` type, then an execution error is raised at that
920
920
position. The error must be added to the {"errors"} list in the _ execution
921
921
result_ .
922
922
923
- If a _ response position_ resolves to {null} because of an execution error which
924
- has already been added to the {"errors"} list in the _ execution result_ , the
925
- {"errors"} list must not be further affected. That is, each error added to the
926
- errors list during execution must have a unique _ response path_ .
923
+ If an _ execution position_ resolves to {null} because of an execution error
924
+ which has already been added to the {"errors"} list in the _ execution result_ ,
925
+ the {"errors"} list must not be further affected. That is, each error added to
926
+ the errors list during execution must have a unique _ response path_ .
927
927
928
- Since ` Non-Null ` response positions cannot be {null}, execution errors are
929
- propagated to be handled by the parent _ response position_ . If the parent
930
- response position may be {null} then it resolves to {null}, otherwise if it is a
931
- ` Non-Null ` type, the execution error is further propagated to its parent
932
- _ response position_ .
928
+ Since ` Non-Null ` execution positions cannot be {null}, execution errors are
929
+ propagated to be handled by the parent _ execution position_ . If the parent
930
+ execution position may be {null} then it resolves to {null}, otherwise if it is
931
+ a ` Non-Null ` type, the execution error is further propagated to its parent
932
+ _ execution position_ .
933
933
934
- If a ` List ` type wraps a ` Non-Null ` type, and one of the _ response position_
935
- elements of that list resolves to {null}, then the entire list _ response
934
+ If a ` List ` type wraps a ` Non-Null ` type, and one of the _ execution position_
935
+ elements of that list resolves to {null}, then the entire list _ execution
936
936
position_ must resolve to {null}. If the ` List ` type is also wrapped in a
937
937
` Non-Null ` , the execution error continues to propagate upwards.
938
938
939
- If every _ response position_ from the root of the request to the source of the
939
+ If every _ execution position_ from the root of the request to the source of the
940
940
execution error has a ` Non-Null ` type, then the {"data"} entry in the _ execution
941
941
result_ should be {null}.
0 commit comments