Open christianmalek opened 4 years ago
Hello,
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.
Thanks!
@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 https://github.com/christianmalek/vuex-rest-api/issues/54#issuecomment-391183111)state.loaded.<propertyName>
to know if state was loaded at least onceAxios.requestConfig.transformRequest
method to the resource action options (see #77)error
andpending
properties optional (see #95)