Manually Mapping the Unit Type #2178
Unanswered
commonsensesoftware
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using
tonic_build::manual::*
, how do you specify or map to the unit type (e.g.()
). I've tried specifying.output_type("()")
, but that doesn't work. It can be generated from the*.proto
which specifiesgoogle.protobuf.Empty
, so there must be some way to do it. I couldn't find anything in examples or documentation. I didn't see any tests or uses in the code either, but I might have missed it.Beta Was this translation helpful? Give feedback.
All reactions