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

[deprecated=true] annotation in proto file not reflected in resulting code #716

Open
dancerj opened this issue Apr 10, 2024 · 0 comments
Open

Comments

@dancerj
Copy link

dancerj commented Apr 10, 2024

protocol buffers have "deprecated = true" notation for specifying fields that are marked as deprecated. I use this feature when knowing if I need to remove users, and on C++ I treat it as an error.

 bool available = 1 [deprecated = true];

I don't see an option to get protobuf-codegen keep deprecated tags ?

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