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
Generate REST client that implements native gRPC client interface.
Motivation
The generated API client is great. However, it is slightly different from the native gRPC client interface.
grpc-gateway client interface:
// GreeterGatewayClient is the interface for Greeter service client.typeGreeterGatewayClientinterface {
// Sends a greetingSayHello(context.Context, *HelloRequest) (*HelloReply, error)
}
Proposal
Generate REST client that implements native gRPC client interface.
Motivation
The generated API client is great. However, it is slightly different from the native gRPC client interface.
If grpc-gateway client uses the same interface as native gRPC then it can be used as a drop-in replacement, making adoption much easier.
The text was updated successfully, but these errors were encountered: