-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Server reflection service #651
Comments
The goal is to be able to propagate any reflection information, e.g., type names of the request and the response, from the generated code to the runtime. That information is specific to the marshalling system, e.g., Protobuf. I am proposing this:
|
That general approach SGTM, and is additive-only. We may need some other plumbing to get the |
@zhangkun83 these changes would be server-side only, correct? We probably don't want this baggage on the client-side. |
I could see the extra information being useful on client-side, too, and it doesn't seem that it adds almost any memory baggage or the like. |
Agreed with Eric. The extended MethodDescriptor is already in the generated code, whether or not you pass it to the client-side runtime. |
As it stands now, if you have an instance of your request proto is a If it is automatic, then I agree there's no problem. If it's lazy, then we should consider how much extra memory is required to hold a |
The descriptors are created automatically in the static block of the generated message class. |
@zhangkun83 ok, in that case SGTM :) |
Since like support for server side reflection landed in Go: https://github.com/grpc/grpc-go/tree/master/reflection. @ejona86, any update here? |
Reflection was put on hold until after GA. |
@carl-mastrangelo that's ok :) Do you have a link somewhere to the GA/post-GA roadmap somewhere? :) Which quarter do you think it may happen in? |
@mwitkow we are pretty close https://github.com/grpc/grpc-java/milestones/1.0 |
No description provided.
The text was updated successfully, but these errors were encountered: