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

V2: Update makeAnyClient signature to carry type information to narrow down method kinds #1292

Conversation

timostamm
Copy link
Member

Without this change, the createMethod argument to makeAnyClient does not have enough type information to narrow down the method kind, which is inconvenient when creating a client.

Also see connectrpc/examples-es#1974 (comment)

@timostamm timostamm changed the title Update makeAnyClient signature to carry type information to narrow down method kinds V2: Update makeAnyClient signature to carry type information to narrow down method kinds Oct 31, 2024
@timostamm timostamm requested a review from smaye81 October 31, 2024 15:53
Signed-off-by: Timo Stamm <[email protected]>
@timostamm timostamm merged commit af47285 into v2 Oct 31, 2024
45 checks passed
@timostamm timostamm deleted the tstamm/v2/Update-makeAnyClient-signature-to-carry-type-information-to-narrow-down-method-kinds branch October 31, 2024 16:59
@srikrsna-buf srikrsna-buf mentioned this pull request Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants