protoc-gen-gorm icon indicating copy to clipboard operation
protoc-gen-gorm copied to clipboard

Add go type transformation for any not caught in initial if-else clause

Open rbisecke opened this issue 3 years ago • 0 comments

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.

rbisecke avatar Jan 24 '22 15:01 rbisecke