forked from grpc-ecosystem/protoc-gen-grpc-gateway-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
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
Support for annotating deprecated fields #3
Labels
enhancement
New feature or request
Comments
dpup
added a commit
that referenced
this issue
May 12, 2024
dpup
added a commit
that referenced
this issue
May 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From grpc-ecosystem#39
If a field is deprecated in the proto definitions, such as
Would it be possible to add a deprecated annotation to the generated types:
If it did, the typescript compiler picks this up giving a warning.
This is useful when deprecating an old field (and often moving to a new one) in a large codebase as it gives a visual indication where the old one is used.
The text was updated successfully, but these errors were encountered: