gz service -r
should not require specifying a dummy message if the request type is Empty
#474
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Desired behavior
Currently,
gz service -r
requires specifyingunused: true
on requests with anEmpty
request type. This is not well documented and seems unintuitive. It would be great if the user is able to provide an empty message (gz service -r ' ' ...
) or no value at all (gz service -r ...
).Together with #473, it would be nice to be able to run
instead of
Alternatives considered
n/a
Implementation suggestion
Handle the case where
reqtype
isEmpty
so that an empty message is considered valid.Additional context
n/a
The text was updated successfully, but these errors were encountered: