oneof parameter in path generated code missing package #2042
Comments
|
The key point maybe grpc-gateway/internal/descriptor/types.go Lines 378 to 380 in 9814f85 |
|
Hi Yongzheng, thanks for the bug report! This does indeed look like a bug, and we should try to fix it :). I see you've already done a bit of digging, the first step to submitting a fix would be to try and produce a failing test. I would try to look at the existing tests in https://github.com/grpc-ecosystem/grpc-gateway/blob/9814f850088dcaaa6018446a366d8337f396aacb/internal/descriptor/types_test.go and see if any can be copied and adapted to reproduce your bug, and then we can start iterating on a fix for it. How does that sound? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To Reproduce
Expected behavior
*GetTrieNodeReq_Idshould has pkg prefix*infra.GetTrieNodeReq_IdActual Behavior
Your Environment
The text was updated successfully, but these errors were encountered: