Is there a built in validator to ensure that the message passed to a method 
is the correct one?

For example:

*message GetAddressInfoRequest {*
*    string street = 1;*
*    string zip = 2;*
*};*


*rpc get_address_info(GetAddressInfoRequest) returns (GetAddressResult);*

I would like the function (get_address_info) to throw an exception/error if 
the signature for the incoming message doesn't match the 
*GetAddressInfoRequest* signature.

Thanks.

Brad

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/92d1edcd-6ef4-4a98-a415-34d2256a72d1n%40googlegroups.com.

Reply via email to