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

enums seem to be ignored in certain cases #98

Open
sigmonsays opened this issue Jul 11, 2018 · 0 comments
Open

enums seem to be ignored in certain cases #98

sigmonsays opened this issue Jul 11, 2018 · 0 comments

Comments

@sigmonsays
Copy link

in the service.proto file, https://github.com/sigmonsays/protoc-gen-gotemplate-examples/blob/master/src/ex1/service.proto we have Color defined as a enum type.
It is not collected in the template, which can be seen here, https://github.com/sigmonsays/protoc-gen-gotemplate-examples/blob/master/src/ex1/templates/dump.txt.tmpl

The result of the template execution can be seen here https://github.com/sigmonsays/protoc-gen-gotemplate-examples/blob/master/src/ex1/dump.txt

It is my expectation that Color be in File.MessageType (and hence dump.txt) but it is not. Why is Color missed from being included in this scenario?

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

No branches or pull requests

1 participant