-
Notifications
You must be signed in to change notification settings - Fork 772
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
Expose MethodDescriptor's public methods #1160
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contrib! :)
This in principle is fine with me. I'm a bit surprised that these aren't exported already given it's already in the TS interface.
@stanley-cheung would probably have more context here so i'll wait for his review :)
(BTW you need to finish the CLA process for this PR to be merge-able :))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM. Yea MethodDescriptor
should be part of the public API.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again for the change! :)
Hi @tomferreira.. Unfortunately i have to rollback this PR because after merging this change it's causing some non-trivial code size increases for some internal Google products.. Apologize for the inconveniences.. 😅 I think maybe there are some ways to expose these APIs ONLY for Github. But I'm not totally sure yet. Ideas are welcome too.. 😃 |
Expose the public methods of the MethodDescriptor class to be used in a mock implementation proposal of interceptor.