-
Notifications
You must be signed in to change notification settings - Fork 40
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
Warn when using schema features annotated with "deprecated": true
#331
Comments
Cool idea. I'll need to look into how we could gather up this info. I'm not sure when I could prioritize working on this, but certainly I'd be open to a PR or useful info about how to implement it on top of |
Ha, I don't know why I didn't think of first opening an issue over there. Thanks! |
I'm removing the label for requiring an upstream change after the pretty productive thread on The main questions I have coming out of that is
If erroring out isn't okay, it's going to be extremely hard to support this (I'd say infeasible). If it is, then just to consider and play around with a phrasing...
Looks decent to me. I like the brevity of |
My expectation would be that they're warnings by default (and could become errors in a strict mode). That is also generally the use case for deprecations: Using the feature isn't an error, but will likely become so in the future, and it is desirable for users of the feature to find some alternate solution. |
It'd be nice if the CLI could emit warnings regarding deprecated features.
The text was updated successfully, but these errors were encountered: