nested enums not generating a dropdown menu
con-ji opened this issue · comments
We have had problems with nested types before.
I am more than happy to a proper fix being contributed, but a quick fix would be to not embed the enum.
I think the issue might be in protoc-gen-gogo/descriptor/helper.go
in getEnum()
: the inner for loop only iterates through non-nested enums and fails to check within messages for nested enums. I'll see if I can get this fixed in protoc-gen-gogo
, unless someone finds a way to fix it in letmegrpc/form
Edit: JK, it's fixable in letmegrpc
- I'll try to make a PR soon.
That sounds like you are on the right track 😁
…On Mon, 11 Jun 2018, 23:29 Jason, ***@***.***> wrote:
I think the issue might be in protoc-gen-gogo/descriptor/helper.go in
getEnum(): the inner for loop only iterates through non-nested enums and
fails to check within messages for nested enums. I'll see if I can get this
fixed in protoc-gen-gogo, unless someone finds a way to fix it in
letmegrpc/form
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#46 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABvsLbxnqJZ9iK6mLs2SiqK5b9jkJrhSks5t7uFDgaJpZM4UZ8Gc>
.