From 2710d9bba25e88efda9aa0ada3b6b22d43db5e37 Mon Sep 17 00:00:00 2001 From: Benjie Gillam Date: Fri, 27 Oct 2023 11:25:20 +0100 Subject: [PATCH] Make it clear that other keys are reserved --- spec/GraphQLOverHTTP.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/spec/GraphQLOverHTTP.md b/spec/GraphQLOverHTTP.md index dac875d7..088ea4e9 100644 --- a/spec/GraphQLOverHTTP.md +++ b/spec/GraphQLOverHTTP.md @@ -376,6 +376,11 @@ When encoded in JSON, a _GraphQL-over-HTTP request_ is encoded as a JSON object names and the values of which are the variable values - {extensions} - an optional object (map) +All other property names are reserved for future expansion; if implementors need +to add additional information to a request they MUST do so via other means, the +RECOMMENDED approach is to add an implementor-scoped entry to the {extensions} +object. + ### Example If we wanted to execute the following GraphQL query: