Replies: 1 comment
-
The alternative that I pursued was to bypass the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I attempting to create a service that can process messages without being aware of the protobuf types. I want the raw message bytes and will be sending them on to a separate service for processing, and then returning the response bytes to be handled as grpc response.
Starting with unary for now, I've been trying to construct a generic service to pass to the
tonic::server::grpc::unary
method as follows:unfortunately this does not compile
which does surprise me as I though wrapping
dyn Message
in aBox
would work? Any pointers greatly appreciated!Beta Was this translation helpful? Give feedback.
All reactions