Skip to content
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 getName() in MethodDescriptor and fix TS definitions. #1289

Merged
merged 1 commit into from
Sep 30, 2022

Conversation

sampajano
Copy link
Collaborator

Backgrounds:

  1. MethodDescriptor methods were exposed to match TS definition but later removed in Revert "Expose MethodDescriptor's public methods" #1199 due to internal code size increase.
  2. getName() still seemed useful to some users per discussion in MethodDescriptor<REQ, RESP>.getName() is not a function #1285

Hence we're re-exposing only the getName() method on MethodDescriptor, hoping it won't cause a code size issue internally and also address some user needs.

@sampajano sampajano changed the title Expose getName() in MethodDescriptor and updates TS definitions to match. Expose getName() in MethodDescriptor and fix TS definitions. Sep 30, 2022
@sampajano sampajano force-pushed the 1.expose.methoddescriptor.getname branch from 2cd8610 to c1bb5dd Compare September 30, 2022 23:03
@sampajano sampajano merged commit 4974a7b into grpc:master Sep 30, 2022
@sampajano sampajano deleted the 1.expose.methoddescriptor.getname branch September 30, 2022 23:28
@dennycd
Copy link
Collaborator

dennycd commented Sep 30, 2022

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants