Skip to content
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

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

Open
zartc opened this issue Oct 16, 2022 · 1 comment

Comments

@zartc
Copy link

zartc commented Oct 16, 2022

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.

@jvmlet
Copy link
Collaborator

jvmlet commented Oct 16, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants