grpc-spring-boot-starter icon indicating copy to clipboard operation
grpc-spring-boot-starter copied to clipboard

Local @GRpcExceptionHandler not detected in GrpcService classes not annotated with @GRpcService

Open zartc opened this issue 1 year ago • 1 comments

My GrpcService are created and wired with their dependencies inside Java Confifuration classes. They are not annotated with @GRpcService because we have a policy to not let service classes beeing discovered by classpath scanning.

In this case, local @GRpcExceptionHandler method inside the GrpcService are not detected and not invoqued in the handling of exceptions.

zartc avatar Oct 16 '22 17:10 zartc

Thanks for reporting @zartc It will be great help if you create PR with unit test that reproduces the issue

jvmlet avatar Oct 16 '22 18:10 jvmlet