Skip to content

Replace deprecated grpc.DialContext / WithBlock / WithInsecure in the gateway #94

@SyniRon

Description

@SyniRon

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.

Metadata

Metadata

Assignees

Labels

7cavblockedBlocked on another issue, decision, or external work — not actionable yetchoreRoutine maintenance, cleanup, or tech-debt removalrefactorCode restructure without functional change

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions