Closed bobbylcraig closed 1 year ago
Sorry for being so late.
README also says:
By default, Evans digs down each message field automatically.
To avoid this behavior, please specify --dig-manually
.
With this flag, Evans asks whether continue or skip when the next field is message type.
messages.ExampleService@127.0.0.1:50051> call --dig-manually SendJson
UserID (TYPE_STRING) => 123
✔ skip
OtherThing (TYPE_STRING) =>
Feel free re-open this issue when you have some questions!
This doesn't work, it only seems to dig down or skip on the last field ... and when skip, the call is closed without a response or abort.
Describe the bug
As mentioned in your "skip the rest of the fields" section, some fields are skipped when they're passed over on the call. However, it seems as though the
google/protobuf/struct.proto
type isn't (I'm not sure if this is limited to this type, but it's the only one I can find that's impacted currently).Thanks for all the work you put in here!
To reproduce
With proto like...
If I run...
_Note: No values were entered for
details
orother_thing
. Ctrl+D was entered._I see a request on the server that looks like...
which correctly does not include the
other_thing
but it does include thedetails
field (the problem).Expected behavior
With the above input in Evans, I'd expect a request on the server like
Environment
protoc-gen-twirp v8.1.0