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

Fix transform for createPromiseClient -> createClient in connect-migrate #1269

Conversation

timostamm
Copy link
Member

@timostamm timostamm commented Oct 10, 2024

In v1.6.0, we're renaming createPromiseClient to createClient.

Running npx @connectrpc/connect-migrate updates imports for createPromiseClient or PromiseClient as expected, but only if the import statement doesn't import anything else.

This ports @paul-sachs' fix #1268 from the v2 branch to main.

…migrate

Signed-off-by: Timo Stamm <ts@timostamm.de>
@timostamm timostamm merged commit 3d10191 into main Oct 10, 2024
47 checks passed
@timostamm timostamm deleted the tstamm/Fix-transform-for-`createPromiseClient`-->-`createClient`-in-connect-migrate branch October 10, 2024 19:34
@timostamm timostamm mentioned this pull request Oct 11, 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