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

Add support for trailing comments in generated code #6

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

mtodor
Copy link
Collaborator

@mtodor mtodor commented Dec 21, 2023

This is the porting of this PR: gogo#765

Since we are planning to use: https://github.com/favadi/protoc-go-inject-tag - in order to have easier to review changes, we want to add trailing comments to proto files. Since protoc-go-inject-tag works on generated files, it requires trailing comments to be added to fields. By default, gogo protobuf removes field trailing comments from a proto file.

@janisz
Copy link

janisz commented Dec 22, 2023

LGTM

@mtodor mtodor merged commit f240d99 into 1.3.2-rox Jan 25, 2024
@mtodor mtodor deleted the mtodor/add-support-for-trailing-comments branch January 25, 2024 10:20
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

Successfully merging this pull request may close these issues.

2 participants