Any

Support the ‘Any’ protobuf type from an external grpc-gateway process

2021-12-31

This is just a quick one. I had some trouble making the Any protobuf type work when running grpc-gateway from a separate process with the gateway throwing an unknown message type error. A quick fix for this is to import the generated pb.go file to your proxy source. Something like: package main import ( … _ "github.com/username/pkgwithpbgo" )

Any · Grpc-Gateway · Protobuf

1 minute