protoc-gen-gorm
protoc-gen-gorm copied to clipboard
Add go type transformation for any not caught in initial if-else clause
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.