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

Add a transform for createPromiseClient -> createClient #1236

Merged
merged 4 commits into from
Sep 18, 2024

Conversation

srikrsna-buf
Copy link
Member

@srikrsna-buf srikrsna-buf commented Sep 17, 2024

Add a transform for createPromiseClient -> createClient and PromiseClient -> Client.

Signed-off-by: Sri Krishna Paritala <skrishna@buf.build>
Signed-off-by: Sri Krishna Paritala <skrishna@buf.build>
Signed-off-by: Sri Krishna Paritala <skrishna@buf.build>
@srikrsna-buf srikrsna-buf marked this pull request as ready for review September 18, 2024 09:40
Signed-off-by: Sri Krishna Paritala <skrishna@buf.build>
@srikrsna-buf srikrsna-buf merged commit f074ab1 into main Sep 18, 2024
44 of 46 checks passed
@srikrsna-buf srikrsna-buf deleted the sk/promise-client-migrate branch September 18, 2024 11:58
@timostamm timostamm mentioned this pull request Sep 20, 2024
@netanel-utila
Copy link

Hi, after changing to createClient, we don't get auto complete anymore 🤔

Screenshot 2024-09-26 at 12 54 13

@timostamm
Copy link
Member

@netanel-utila, it still works as expected over here:

s

Can you check your dependency versions? @connectrpc/connect packages should be at 2.0.0-beta.1, @bufbuild/protobuf at 2.1.0. Feel free to file an issue and share your package lock file if the issue persists.

@netanel-utila
Copy link

Sorry for not opening an issue, but I think that's the issue. What am I doing wrong?

Screenshot 2024-09-26 at 15 47 54
    "@bufbuild/buf": "1.42.0",
    "@bufbuild/protobuf": "^2.1.0",
    "@connectrpc/connect": "2.0.0-beta.1",
    "@connectrpc/connect-node": "2.0.0-beta.1",

@timostamm
Copy link
Member

Your dependencies are borked. If you open an issue and share your package lock file, we can take a look.

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.

3 participants