-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Reference not imported properly #1190
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This should be reopened |
Reproduced this again w/o gogo: https://github.com/sgtsquiggs/grpc_gateway_bug |
Can you try v2-beta.3? https://github.com/grpc-ecosystem/grpc-gateway/releases/tag/v2.0.0-beta.3 |
I think the error is probably on this line: https://github.com/grpc-ecosystem/grpc-gateway/blob/master/protoc-gen-grpc-gateway/internal/gengateway/template.go#L365. Would you be interested in submitting a PR to fix this? It should be quite easy for you to reproduce with your example. |
I believe I fixed this here: #1203 (comment) |
Closing as dupe (though this one is older) |
Example project here: https://github.com/sgtsquiggs/grpc-gateway-bug
This is the offending line: https://github.com/sgtsquiggs/grpc-gateway-bug/blob/master/genout/gate/proto/gate.pb.gw.go#L52
RateType_value
should beproto_0.RateType_value
The text was updated successfully, but these errors were encountered: