grpc-ecosystem/grpc-gateway

Response forwarder replace docs are unclear

Open

#1087 opened on Nov 25, 2019

View on GitHub
 (5 comments) (0 reactions) (0 assignees)Go (16,971 stars) (2,250 forks)batch import
documentationgood first issuehelp wanted

Description

The doc of replace-a-response-forwarder-per-method is not very clear.

We cannot directly access the forward_MyService_Checkout_0 variable outside the generated gw file. If we modify the gw file directly, it will break the automatic generation mechanism.

So what's the recommended way to overwrite the default forwarder?

Contributor guide