ytitov / grpc-rust-dart-demo

routeguide tutorial base to start a rust and dart server/client project
0 stars 0 forks source link

client parms #22

Open Relentlesslba opened 4 years ago

Relentlesslba commented 4 years ago

parser doesn't throw an exception for a missing parm, for example set-pwd

this command needs two parms, -u username and -p pwd; without both the program still gets to the RPC (instead of erroring out during parsing of args), and only then errors out via grpc library when trying to send a null value in place of a string in the message:

Illegal to set field username (1) of manageusers.SetPwdParms to value (null): not type String