grpc-ecosystem/grpc-gateway

Response forwarder replace docs are unclear

Open

#1,087 opened on Nov 25, 2019

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

Repository metrics

Stars
 (16,971 stars)
PR merge metrics
 (Avg merge 8d 23h) (147 merged PRs in 30d)

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