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
userData in axios request objects #1890
Comments
Yeah. I'm up. |
Why would you need to create a
|
I think what you need is custom configs. It is last supported in 0.18. And #2207 has fixed it again. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi. I've just published axios-auth-refresh yesterday and I have some more ideas in mind that might be implemented in the future releases of my package. I'd like to ask you if there's a possibility to add some
userData
to request objects (like for example in Three.js - Object3D)?If there's not, wouldn't it be good to implement something similar?
There's lots of use cases for it: calls differentiation, dynamic request's params binding, etc.
Take a look at this example:
I'd be happy to contribute if anyone feels like it might be nice to have this possibility onboard.
The text was updated successfully, but these errors were encountered: