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

[gogenproto] Skip generating mappings for proto files that already use go_package #37

Merged
merged 2 commits into from
Jan 26, 2024

Conversation

bhollis
Copy link
Collaborator

@bhollis bhollis commented Jan 26, 2024

My auto-mapping change is a bit aggressive, and can generate mappings for files that already have a go_package option specified, which then results in errors from protoc. This change skips files that already specify go_package via some questionable not-quite-parsing of the proto.

@drshriveer drshriveer enabled auto-merge (squash) January 26, 2024 20:35
@drshriveer drshriveer merged commit 0dade61 into main Jan 26, 2024
3 checks passed
@drshriveer drshriveer deleted the gogenproto-go_package branch January 26, 2024 20:37
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