Skip to content

Commit

Permalink
Use InterfaceRegistry as AnyResolver for grpc-gateway (#7646)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronc committed Oct 23, 2020
1 parent 6bc8ff2 commit 73e7dad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/api/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ func New(clientCtx client.Context, logger log.Logger) *Server {
EmitDefaults: true,
Indent: " ",
OrigName: true,
AnyResolver: clientCtx.InterfaceRegistry,
}

return &Server{
Expand Down

0 comments on commit 73e7dad

Please sign in to comment.