graphql-over-http icon indicating copy to clipboard operation
graphql-over-http copied to clipboard

Add assertion that unknown keys should be ignored

Open benjie opened this issue 10 months ago • 0 comments

This section notes:

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.

We should add an explicit assertion:

Servers MUST ignore unknown property names to allow for future expansion of the specification.

Note: Future expansion will be done in such a way that a server ignoring an additional property will be safe for the client, it will be as if the client did not include the unsupported property.

Will need @enisdenjo to add this to the test suite too 💪

benjie avatar Feb 22 '25 10:02 benjie