Skip to content

Commit 5f67e8d

Browse files
committed
Minor edits
1 parent bd04f99 commit 5f67e8d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spec/Section 6 -- Execution.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ A GraphQL service generates a response from a request via execution.
1515
being executed. Conceptually, an initial value represents the "universe" of
1616
data available via a GraphQL Service. It is common for a GraphQL Service to
1717
always use the same initial value for every request.
18-
- {onError} (optional): The _error behavior_ that is desired, see
18+
- {onError} (optional, recommended): The _error behavior_ that is desired, see
1919
[Handling Execution Errors](#sec-Handling-Execution-Errors).
2020

2121
Given this information, the result of {ExecuteRequest(schema, document,
@@ -842,10 +842,10 @@ type, then an execution error is raised by the field.
842842
If a `List` type wraps a `Non-Null` type, and one of the elements of that list
843843
resolves to {null}, then an execution error is raised by the list item.
844844

845-
:: The _error behavior_ is the way in which the request wishes for errors to be
846-
handled. It can be specified by the client using the {onError} property of the
847-
_request_. Valid values are {"PROPAGATE"}, {"NO_PROPAGATE"} and {"ABORT"}; their
848-
respective behaviors are detailed below.
845+
:: The _error behavior_ indicates the way in which any errors are handled during
846+
the request. It can be specified by the client using the {onError} property of
847+
the _request_. Valid values are {"PROPAGATE"}, {"NO_PROPAGATE"} and {"ABORT"};
848+
their respective behaviors are detailed below.
849849

850850
Implementations are free to choose the default value to use if _error behavior_
851851
is not specified. It is recommended this is {"NO_PROPAGATE"} for newly created
@@ -863,7 +863,7 @@ the {"errors"} list in the _response_.
863863
If the response position returns {null} because of an execution error which has
864864
already been added to the {"errors"} list in the response, the {"errors"} list
865865
must not be further affected. That is, only one error should be added to the
866-
errors list per response position.
866+
errors list per _response position_.
867867

868868
Execution errors are handled according to the selected _error behavior_, as
869869
detailed below:

0 commit comments

Comments
 (0)