-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interceptors not called when using new RegisterHandler function #1043
Comments
The RegisterHandler method doesn't use gRPC at all, so it would make sense that the gRPC interceptors aren't being called. This is a compromise when using this direct registration. There's not much we can do here, so I'm going to close it. Please let me know if you want more help. |
@johanbrandhorst Could you not also have a version of |
@rittneje this is a nice idea |
I think we should look at the |
…grpc.UnaryServerInterceptor. as gRPC-Gateway does not support gRPC interceptors when call gRPC's service handler in process. See: grpc-ecosystem/grpc-gateway#1043
…rver interceptor for [http handler] --> [grpc server handler] without grpc client dials to grpc server. gRPC-Gateway does not support gRPC interceptors when call gRPC's service handler in process. See: grpc-ecosystem/grpc-gateway#1043
…r for [http handler] --> [grpc server handler] without grpc client dials to grpc server. gRPC-Gateway does not support gRPC interceptors when call gRPC's service handler in process. See: grpc-ecosystem/grpc-gateway#1043
…r for [http handler] --> [grpc server handler] without grpc client dials to grpc server. gRPC-Gateway does not support gRPC interceptors when call gRPC's service handler in process. See: grpc-ecosystem/grpc-gateway#1043
…r for [http handler] --> [grpc server handler] without grpc client dials to grpc server. gRPC-Gateway does not support gRPC interceptors when call gRPC's service handler in process. See: grpc-ecosystem/grpc-gateway#1043
…r for [http handler] --> [grpc server handler] without grpc client dials to grpc server. gRPC-Gateway does not support gRPC interceptors when call gRPC's service handler in process. See: grpc-ecosystem/grpc-gateway#1043
…r for [http handler] --> [grpc server handler] without grpc client dials to grpc server. gRPC-Gateway does not support gRPC interceptors when call gRPC's service handler in process. See: grpc-ecosystem/grpc-gateway#1043
…r for [http handler] --> [grpc server handler] without grpc client dials to grpc server. gRPC-Gateway does not support gRPC interceptors when call gRPC's service handler in process. See: grpc-ecosystem/grpc-gateway#1043
…r for [http handler] --> [grpc server handler] without grpc client dials to grpc server. gRPC-Gateway does not support gRPC interceptors when call gRPC's service handler in process. See: grpc-ecosystem/grpc-gateway#1043
Hi guys, I wanted to use new RegisterHandler functions(#947), to get rid of redundant grpc server, but it seems that unary interceptors are not called.
An example, here we have 2 unary server interceptors but they are not used.
https://github.com/hb-go/micro-mesh/blob/5df54724a57a4e4947812d3a8badfd64d6ff5fbc/examples/api/main.go#L101
Without unary interceptors being called, this feature cannot be a drop in replacement.
The text was updated successfully, but these errors were encountered: