Skip to content

Commit 2087016

Browse files
robrichardbenjie
andcommitted
Apply suggestions from code review
Co-authored-by: Benjie <[email protected]>
1 parent f3e00c6 commit 2087016

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

spec/Section 7 -- Response.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ If an error can be associated to a particular field in the GraphQL result, it
108108
must contain an entry with the key `path` that details the path of the response
109109
field which experienced the error. This allows clients to identify whether a
110110
`null` result is intentional or caused by a runtime error. The value of this
111-
field is described in the [Path](#sec-Path) section.
111+
entry is described in the [Path](#sec-Path) section.
112112

113113
For example, if fetching one of the friends' names fails in the following
114114
operation:
@@ -240,16 +240,16 @@ discouraged.
240240

241241
### Path
242242

243-
:: A _path field_ allows for the association to a particular field in a GraphQL
244-
result. This field must be a list of path segments starting at the root of the
245-
response and ending with the field to be associated with. Path segments that
246-
represent fields must be strings, and path segments that represent list indices
247-
must be 0-indexed integers. If the path is associated to an aliased field, the
248-
path must use the aliased name, since it represents a path in the response, not
249-
in the request.
243+
:: A _path entry_ allows for the association with a particular field reached
244+
during GraphQL execution. The value for this entry must be a list of path
245+
segments starting at the root of the response and ending with the field to be
246+
associated with. Path segments that represent fields must be strings, and path
247+
segments that represent list indices must be 0-indexed integers. If a path
248+
segment is associated with an aliased field it must use the aliased name, since
249+
it represents a path in the response, not in the request.
250250

251-
When the _path field_ is present on an "Error result", it indicates the response
252-
field which experienced the error.
251+
When the _path entry_ is present on an "Error result", it identifies the
252+
response field which experienced the error.
253253

254254
## Serialization Format
255255

0 commit comments

Comments
 (0)