You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use runtime.NewServeMux with runtime.WithForwardResponseOption compile throw:
cannot use myFilter (type func(context.Context, http.ResponseWriter, protoreflect.ProtoMessage) error) as type func(context.Context, http.ResponseWriter, protoiface.MessageV1) error in argument to "github.com/grpc-ecosystem/grpc-gateway/runtime".WithForwardResponseOption
Hi Jerry, this is a simple function signature mismatch, probably because you imported the incorrect version of the protobuf package. Maybe I could help you sort this out on our support channel on gophers slack? Join #grpc-gateway on https://invite.slack.golangbridge.org/.
馃悰 Bug Report
use
runtime.NewServeMux
withruntime.WithForwardResponseOption
compile throw:source code:
Environment
The text was updated successfully, but these errors were encountered: