Skip to content

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

Merged
timostamm merged 2 commits intov2from
tstamm/v2/Update-makeAnyClient-signature-to-carry-type-information-to-narrow-down-method-kinds
Oct 31, 2024
Merged

V2: Update makeAnyClient signature to carry type information to narrow down method kinds#1292
timostamm merged 2 commits intov2from
tstamm/v2/Update-makeAnyClient-signature-to-carry-type-information-to-narrow-down-method-kinds

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)

…wn method kinds

Signed-off-by: Timo Stamm <ts@timostamm.de>
@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 <ts@timostamm.de>
@timostamm timostamm merged commit af47285 into v2 Oct 31, 2024
@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