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

Can KiteX client support global middleware #405

Closed
bodhisatan opened this issue Apr 14, 2022 · 1 comment
Closed

Can KiteX client support global middleware #405

bodhisatan opened this issue Apr 14, 2022 · 1 comment

Comments

@bodhisatan
Copy link
Member

bodhisatan commented Apr 14, 2022

Is your feature request related to a problem? Please describe.
According to doc, when I want to do something before all clients making a RPC calling, I have to write several middlewares for each client. So can KiteX client support global middleware, or if it won't be supported, why?

Describe the solution you'd like
KiteX support global middleware

@joway
Copy link
Member

joway commented Apr 14, 2022

It will not be supported. @bodhisatan

Because in our practice, we found that many people will use 3rd party dependencies which include "kitex global middleware", and if these middlewares have some bugs, it is very difficult to debug it because users even don't know they are using these global middlewares.

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

No branches or pull requests

3 participants