-
-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI not generating correct examples for gRPC #2584
Labels
Comments
there also seems to be a problem for CLI parsing MapOf(String, ArrayOf(String)) passed in a message argument. for example:
stepping through the cli code in the debugger, the JSON parser is trying to unmarshal headers as map[string]*ArrayOfString where ArrayOfString is defined in the my.pb.go file as:
this is odd because it seems protobuf should not be involved in the initial unmarshaling of the JSON message passed to CLI. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If an attribute has nested type (e.g. MapOf(String, ArrayOf(String)) CLI should print out the correct examples to pass in the params
CLI should also print any unmarshal errors for easier debugging
The text was updated successfully, but these errors were encountered: