Skip to content

Commit 127bbfd

Browse files
authored
Link to extensions in the main spec (and fix spelling) (#347)
1 parent 3bfe0ae commit 127bbfd

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

spec/GraphQLOverHTTP.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,9 @@ parameters in one of the manners described in this specification:
214214
Document to execute.
215215
- {variables} - (_Optional_, map): Values for any Variables defined by the
216216
Operation.
217-
- {extensions} - (_Optional_, map): This entry is reserved for implementors to
218-
extend the protocol however they see fit.
217+
- {extensions} - (_Optional_, map): This entry is reserved for implementers to
218+
extend the protocol however they see fit, as specified in
219+
[the Response section of the GraphQL specification](https://spec.graphql.org/draft/#sec-Response-Format.Response).
219220

220221
Note: When comparing _GraphQL-over-HTTP request_ against the term
221222
["request"](https://spec.graphql.org/draft/#request) in the GraphQL
@@ -371,11 +372,13 @@ When encoded in JSON, a _GraphQL-over-HTTP request_ is encoded as a JSON object
371372
- {operationName} - an optional string
372373
- {variables} - an optional object (map), the keys of which are the variable
373374
names and the values of which are the variable values
374-
- {extensions} - an optional object (map)
375+
- {extensions} - an optional object (map) reserved for implementers to extend
376+
the protocol however they see fit, as specified in
377+
[the Response section of the GraphQL specification](https://spec.graphql.org/draft/#sec-Response-Format.Response).
375378

376-
All other property names are reserved for future expansion. If implementors need
379+
All other property names are reserved for future expansion. If implementers need
377380
to add additional information to a request they MUST do so via other means; the
378-
RECOMMENDED approach is to add an implementor-scoped entry to the {extensions}
381+
RECOMMENDED approach is to add an implementer-scoped entry to the {extensions}
379382
object.
380383

381384
Servers receiving a request with additional properties MUST ignore properties

0 commit comments

Comments
 (0)