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

build(contrib/rpc/grpcx): use grpc.NewClient instead of grpc.Dial #3684

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

oldme-git
Copy link
Member

@oldme-git oldme-git commented Jul 17, 2024

Dear reviewer:
升级依赖至 Go 1.21
rpc 的新版本中已经弃用 grpc.Dial:
https://github.com/grpc/grpc-go/blob/master/Documentation/anti-patterns.md
另外,减少了一些代码的缩进

@oldme-git oldme-git marked this pull request as draft July 17, 2024 06:01
@oldme-git oldme-git changed the title refactor(contrib/rpc/grpcx): use grpc.NewClient instead of grpc.Dial build(contrib/rpc/grpcx): use grpc.NewClient instead of grpc.Dial Jul 17, 2024
@gqcn
Copy link
Member

gqcn commented Jul 17, 2024

@oldme-git 需要等待#3688 合并后更新该pr,同样放到v2.8.0版本合并发布。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@oldme-git needs to wait for #3688 to be merged and then update the pr, and also put it into the v2.8.0 version for merge and release.

@gqcn gqcn added this to the v2.8.0 milestone Jul 17, 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.

None yet

3 participants