-
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
Fix #504 Missing Definitions #505
Fix #504 Missing Definitions #505
Conversation
This looks really good and I think it's 100% the fix. Thanks for contributing! Do you think you could add an example in https://github.com/grpc-ecosystem/grpc-gateway/blob/master/examples/examplepb/a_bit_of_everything.proto that exhibits this problem (and the solution) so that we don't regresson this in the future? Thanks so much! |
Hi, added something to the example which shows the problem (if the fix is reverted anyway). Let me know if anything is missing. edit: erm, not sure how to make the tests run in CI. It imports the examples from the |
I'm not sure I understand what you're saying here. Can you help me understand a little better? |
0e1f743
to
00e5a4f
Compare
Yeah sure, AFAIK the travis tests fail because the new
it's only available in
But I shouldn't important that. Additionally it looks like travis just This wouldn't be an issue if the PR was a branch rather than a fork so maybe a maintainer could just copy the branch and replace this PR. Or perhaps there is another solution. Relative imports or something. I'm not sure :/ |
I think those errors are probably only occurring in your local $GOROOT. What happens if you |
c120f08
to
fa6bda2
Compare
Hah oh god. Why did I not think of that. Should be fixed now. |
4f7f26b
to
e7e8908
Compare
This apparently fixes the issue, but I'm not 100% sure why. It seems to be something to do with the refs map missing entries for nested request types.
fixes #504