You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using vuex-rest-api in a work project and am wondering what the status on v3 is? In particular I'm wondering about the request cancellation feature.
I've run into a situation where I need it and I don't see a way to do this at the moment without modifying the library (was thinking about storing a CancelToken in ActionParamsBody and then setting it in the config that gets prepped in requestFn as a quick solve).
params and data are also both properties of AxiosRequestConfig - why not do a straight pass through so requests can be fully configured on the fly? I think that would still play okay with the way requestConfig is currently set for an action.
I'd be happy to help out with a PR if this would be a welcome change.
@pchisholm Hello and thank you for your interest in this project!
Unfortunately, the project is not being developed further at the moment. A version 3 does not exist yet and there is no date planned for when the project will be continued.
You are welcome to submit a PR. They are always welcome.
This list is for myself to see what I still have to implement for version 3.
getStore({ createStateFn: true })
the defaultonError
interceptor that can be overridden at resource entity level (see Improvement ideas聽#54 (comment))state.loaded.<propertyName>
to know if state was loaded at least onceAxios.requestConfig.transformRequest
method to the resource action options (see [QUESTION] - Pre API Call Transformation聽#77)error
andpending
properties optional (see How to get rid of error&pending in setting a custom state?聽#95)The text was updated successfully, but these errors were encountered: