servers/gateway/gateway.go uses grpc.DialContext + grpc.WithBlock()
grpc.WithInsecure(). All three are deprecated in current grpc-go.
Switch to grpc.NewClient with insecure.NewCredentials(). NewClient
is non-blocking by design, so drop WithBlock entirely.
Pair with a go mod tidy and any related dep refresh. Low-risk hygiene.
The plaintext-dial decision itself is unchanged — see ADR 0002. Only the
API surface moves.
Moot if the "Drop gRPC, go pure JSON" investigation lands first; pick
one.
servers/gateway/gateway.gousesgrpc.DialContext+grpc.WithBlock()grpc.WithInsecure(). All three are deprecated in current grpc-go.Switch to
grpc.NewClientwithinsecure.NewCredentials().NewClientis non-blocking by design, so drop
WithBlockentirely.Pair with a
go mod tidyand any related dep refresh. Low-risk hygiene.The plaintext-dial decision itself is unchanged — see ADR 0002. Only the
API surface moves.
Moot if the "Drop gRPC, go pure JSON" investigation lands first; pick
one.