-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Axios Interceptor #2443
Comments
Could you please provide a minimal repository which reproduces your issue? |
@kamilmysliwiec yes! https://github.com/vagostep/interceptor-demo using Graphql (localhost:3000/graphql) see how when call de resolver, the console log inside interceptor (app.module) not showing |
It's not an issue. Your |
thanks!!! You're the best |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Bug Report
Axios interceptor not working. I believe that my services are receiving another instance of httpService.
Current behavior
I initialize axios interceptor in AppModule onModuleInit lifecycle. But when in a service i use the httpService, this interceptor function not execute.
Another important info
I use the Graphql Module for this project.
It should be noted that I have just updated the core of nest. Before that, is working well!
Input Code
https://github.com/vagostep/interceptor-demo
Expected behavior
Intercept Axios request and responses
Environment
The text was updated successfully, but these errors were encountered: