grpcurl icon indicating copy to clipboard operation
grpcurl copied to clipboard

Change -emit-defaults behaviour so that the flag isn't anymore needed to show default values (Proto3)

Open behofer opened this issue 4 years ago • 0 comments
trafficstars

Hi, I encountered the same issue as described in #97. After some debugging, I tried to call the ame service with BloomRPC GUI and default value was shown immediately. Some research lead me to -emit-defaults option which solves the issue for me. Although this is expected behaviour as explained in #97, it would be desirable to have -emit-defaults set by default and give the user the option to omit defaults if needed. This is obviously how BloomRPC and other clients/client libraries work.

Or is there anything against this approach?

Thanks!

behofer avatar Mar 04 '21 09:03 behofer