With the standard protoc_gen_go I can reference Enum's by their string name when using grpc-gateway. This is not the case when I use gogo binaries.
The related issue gogo/protobuf#286
This is because the grpc-gateway uses the golang/protobuf registered enum map for lookups. Like suggested in the link you provided you should use the goproto_registration extension to enable dual registration for your proto files.
I'd love to get this into wiki/docs.
The goproto_registration extension solved my issue. Thanks!
Most helpful comment
The
goproto_registrationextension solved my issue. Thanks!