-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Remove the deprecated grpc.DialContext
#19772
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
Comments
Link to #15145 |
"Deprecated" does not mean it will be deleted, FYI, so consider this lower priority: https://go.dev/wiki/Deprecated
https://pkg.go.dev/google.golang.org/grpc#section-readme
It is tested and supported. But it has a misleading name and encourages bad practices, so it was marked as deprecated. It should be a higher priority to stop using gRPC's experimental APIs, which we do reserve the right to remove or change at any time. |
Noted. |
What would you like to be added?
grpc.DialContext
has already been deprecated, andNewClient
is recommended to be used instead.etcd/client/v3/client.go
Line 332 in 638b410
https://github.com/grpc/grpc-go/blob/54e7e26a1f323438c1dad002f2af4ed6ed4c5f11/clientconn.go#L238-L239
Why is this needed?
ensure long-term compatibility with grpc-go
@fuweid do you have bandwidth to take care of this? thx
We might also want to backport the fix to release-3.6, depending on the complexity of the change.
cc @amosehiguese
also cc @dfawley please chime in in case we miss anything, thx
The text was updated successfully, but these errors were encountered: