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


Any · Grpc-Gateway · Protobuf

1 minute

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 (

    _ ""