You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use case(s) - what problem will this feature solve?
#7029 has deprecated Dial and DialContext. NewClient ignores WithBlock, WithTimeout, WithReturnConnectionError.
grpc.WithTimeout is already deprecated.
WithBlock and WithReturnConnectionError have a GoDoc comment which discourages its usage.
Proposed Solution
Deprecate WithBlock and WithReturnConnectionError so to better notify that these options should not be used and additionally that they are ignored by NewClient.
Use case(s) - what problem will this feature solve?
#7029 has deprecated
Dial
andDialContext
.NewClient
ignoresWithBlock
,WithTimeout
,WithReturnConnectionError
.grpc.WithTimeout
is already deprecated.WithBlock
andWithReturnConnectionError
have a GoDoc comment which discourages its usage.Proposed Solution
Deprecate
WithBlock
andWithReturnConnectionError
so to better notify that these options should not be used and additionally that they are ignored byNewClient
.Deprecation is more visible in https://pkg.go.dev/google.golang.org/grpc and more usable for static analysis tools such as
golangci-lint
.The text was updated successfully, but these errors were encountered: