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

Custom RPC service interceptor #4563

Open
MYHZ79 opened this issue Jan 12, 2025 · 1 comment
Open

Custom RPC service interceptor #4563

MYHZ79 opened this issue Jan 12, 2025 · 1 comment

Comments

@MYHZ79
Copy link

MYHZ79 commented Jan 12, 2025

hi there
in http code generation it is possible to define middlewares for service groups.is there a way to define custom service-interceptors/middlewares for generated RPC services? as i checked there are multiple default interceptors which can be activated by configuartion. but is there a way to implement interceptors/middlewares without editing generated RPC service codes manually?

@kesonan
Copy link
Collaborator

kesonan commented Jan 15, 2025

The RPC code generates from proto IDL, we can't define such as middleware IDL, so, goctl does not support generates middlewares from proto.

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