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
DocService
Add collapsible grpc request / response types
#4481
Comments
DocService
DocService
Add collapsible grpc request / response types
So do you mean we need to make the |
I mean, we should be able to see the fields inside Also the convention is not using primitives for requests/response types. For each rpc method |
Now I get what you meant. 😄 |
@minwoox makes sense, can we make this appear conditionally (e.g. show it only in grpc methods) by using some sort of boolean flag? I also realized the section |
Motivation: Especially for gRPC methods, not seeing the fields of parameters and return type is very frustrating. You should click and visit another page to see the parameters and the return type. It also makes using the `debug form` harder. Modifications: - Update `MethodPage` to have collapsible request and response types. Result: - Closes #4481 https://user-images.githubusercontent.com/7023385/196294177-758e5b6a-9cb5-426a-afb8-85b54b5a6447.mov
Proto response/request types are not collapsible. I think they should automatically become collapsible because those types do not contain any valuable information and most of the time they are just
{METHOD_NAME}Request
and{METHOD_NAME}Response
.Example:
The text was updated successfully, but these errors were encountered: