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

Better version constraints #159

Open
OleksandrKvl opened this issue Jan 29, 2023 · 0 comments
Open

Better version constraints #159

OleksandrKvl opened this issue Jan 29, 2023 · 0 comments

Comments

@OleksandrKvl
Copy link

I propose 2 updates to the deprecated version constraint:

  1. deprecated can be greater than schema version. I think it can be useful for case when schema author wants to notify client about future changes, e.g. to say in schema version 110 that since next major version 200 some field will be deprecated. One might argue that in such case author can publish schema 200 but say that it's not yet in use. However, I find such a workflow harder to maintain because author might not have schema 200 ready for release.
  2. And an obvious one: deprecated should not be less than sinceVersion (or maybe even strictly greater).
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