On Sat, Jun 29, 2019 at 5:22 AM Ananya Bhat wrote:
>
> Please clarify the following
> Why scalar types can not be used as IN parameter or OUT parameters of
> Service RPCs?
>
I think it just simplifies everything to use message types only. If we
allowed non-message types as requests or responses
A message type is required for both the request and response. You can
always use google.protobuf.Empty (from src/google/protobuf/empty.proto) as
a placeholder empty message.
On Tue, Sep 25, 2018 at 6:23 AM omid pourhadi
wrote:
> and sometimes I don't want to pass any message type to rpc method