-
-
Notifications
You must be signed in to change notification settings - Fork 185
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
Server-side streaming which returns bytes not working #599
Labels
Comments
I've checked the same service with grpcurl and it worked |
PatSos95
added a commit
to PatSos95/evans
that referenced
this issue
Oct 27, 2022
Solves this issue: ktr0731#599
This was referenced Oct 27, 2022
PatSos95
added a commit
to PatSos95/evans
that referenced
this issue
Oct 28, 2022
Fix issue ktr0731#599 With this change when gojson library cannot unmarshal message from server (which is the case for server side streaming of bytes), then it will display it in base64 format.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a problem with using the server-side streaming service on Evans. This is the error I get:
> call SomeService
command call: json: cannot unmarshal string into Go value of type map[string]interface {}
This is proto definition of service:
rpc SomeService(google.protobuf.Empty) returns (stream google.protobuf.BytesValue);
I've checked it with the service that returns a stream of integers and it was fine, so I think the problem lies with the return value.
The text was updated successfully, but these errors were encountered: