grpc-proxy icon indicating copy to clipboard operation
grpc-proxy copied to clipboard

handler.go:63:30: undefined: transport.StreamFromContext

Open met-pub opened this issue 7 years ago • 3 comments

$ go get -u github.com/improbable-eng/grpc-web/go/grpcwebproxy # github.com/mwitkow/grpc-proxy/proxy go/src/github.com/mwitkow/grpc-proxy/proxy/handler.go:63:30: undefined: transport.StreamFromContext

met-pub avatar Mar 30 '18 12:03 met-pub

It looks like grpc-go upstream removed the StreamFromContext method in the transport package with this commit: https://github.com/grpc/grpc-go/commit/57640c0e6fd5e562b3a53f6b72738759165c80e1

pieterlouw avatar Apr 03 '18 08:04 pieterlouw

How do we get around this issue? Is there a way to have better version control of your upstream deps? could using gopkg.in be a solution?

mgibson1187 avatar Apr 03 '18 19:04 mgibson1187

PR https://github.com/mwitkow/grpc-proxy/pull/23 should address this issue

pieterlouw avatar Apr 11 '18 08:04 pieterlouw