Use InterfaceRegistry as AnyResolver for grpc-gateway (#7646)

This commit is contained in:
Aaron Craelius
2020-10-23 13:49:18 +00:00
committed by GitHub
parent 6bc8ff2dfe
commit 73e7dad713
+1
View File
@@ -56,6 +56,7 @@ func New(clientCtx client.Context, logger log.Logger) *Server {
EmitDefaults: true,
Indent: " ",
OrigName: true,
AnyResolver: clientCtx.InterfaceRegistry,
}
return &Server{