grpc-ecosystem/grpc-gateway

Response forwarder replace docs are unclear

Open

#1,087 创建于 2019年11月25日

在 GitHub 查看
 (5 评论) (0 反应) (0 负责人)Go (16,971 star) (2,250 fork)batch import
documentationgood first issuehelp wanted

描述

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?

贡献者指南