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

This commit is contained in:
Aaron Craelius 2020-10-23 09:49:18 -04:00 committed by GitHub
parent 6bc8ff2dfe
commit 73e7dad713
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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{