Closed timostamm closed 1 month ago
In v1.6.0, we're renaming createPromiseClient to createClient.
createPromiseClient
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.
npx @connectrpc/connect-migrate
PromiseClient
This ports @paul-sachs' fix https://github.com/connectrpc/connect-es/pull/1268 from the v2 branch to main.
In v1.6.0, we're renaming
createPromiseClient
tocreateClient
.Running
npx @connectrpc/connect-migrate
updates imports forcreatePromiseClient
orPromiseClient
as expected, but only if the import statement doesn't import anything else.This ports @paul-sachs' fix https://github.com/connectrpc/connect-es/pull/1268 from the v2 branch to main.