Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add assertion that unknown keys should be ignored #333

Open
benjie opened this issue Feb 22, 2025 · 0 comments
Open

Add assertion that unknown keys should be ignored #333

benjie opened this issue Feb 22, 2025 · 0 comments

Comments

@benjie
Copy link
Member

benjie commented Feb 22, 2025

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 💪

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant