-
Notifications
You must be signed in to change notification settings - Fork 67
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
Deprecating an entire object #617
Comments
+1 From much of the Gotham ecosystem, we cycle and deprecate objects fairly frequently and this would be a nice QOL improvement. |
Also services |
Perhaps scope bloat, but making conjure server implementations consult the |
We set a Dialogue clients warn when the server responds with a deprecation header here: https://github.com/palantir/dialogue/blob/develop/dialogue-core/src/main/java/com/palantir/dialogue/core/DeprecationWarningChannel.java |
Motivation
We have deprecation of fields, enums and endpoints. It feels like a natural extension to deprecate entire objects that shouldn't be used anymore. Can we extend the deprecation syntax to objects too?
Proposal
That is:
Could go even further and add deprecation notices to the methods of deprecated objects, I don't think it comes up otherwise. But at the very least it'd be nice to have it baked in similar to fields, enums and endpoints.
I can throw something up if it's a reasonable proposal?
The text was updated successfully, but these errors were encountered: