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?

貢獻者指南