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 go type transformation for any not caught in initial if-else clause #223

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rbisecke
Copy link

Ran into an issue where byte types in proto were not being translated correctly when the go gorm file was being created. Realized there was a variety of proto types that were not being taken into account in the if-else clause converting the types. Added a final catch at the end to leverage similar logic the protoc-gen-go plugin (cmd/protoc-gen-go/internal_gengo/main.go#L632) uses to convert to go types.

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