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
@@ -144,7 +144,7 @@ In addition to [axios request options](https://github.com/axios/axios#request-co
144
144
145
145
By setting this option to `false`, the response data will not be persisted and you will have to handle persistence alternatively. The `entities` property in the [Response](usage.md#handling-responses) object will also be `null` since it will no longer be persisting data automatically.
Vuex ORM Axios supports the most commonly used [axios request methods](https://github.com/axios/axios#request-method-aliases). These methods accept the same argument signature as their axios counterparts with the exception that the config can be expanded with additional plugin [options](configurations).
15
14
16
-
17
15
### Supported Methods
18
16
19
17
Here is a list of supported request methods:
@@ -33,7 +31,6 @@ Arguments given are passed on to the corresponding axios request method.
33
31
-`data` is the data to be sent as the request body (where applicable).
34
32
-`config` is the plugin [config options](configurations) and also any valid [axios request config](https://github.com/axios/axios#request-config) options.
35
33
36
-
37
34
### Request Configuration
38
35
39
36
You can pass any of the plugin's options together with any axios request options for a request method.
@@ -55,7 +52,6 @@ The [`dataKey`](configurations.md#datakey) is a plugin option which informs the
55
52
56
53
**See also**: [Configurations](configurations)
57
54
58
-
59
55
### Persisting Response Data
60
56
61
57
By default, the response data from a request is automatically saved to the store corresponding to the model the request is made on.
@@ -105,7 +101,6 @@ If you do not want to persist response data automatically, you can defer persist
105
101
-[Deferring Persistence](#deferring-persistence)
106
102
-[Vuex ORM - Insert or Update](https://vuex-orm.org/guide/data/inserting-and-updating.html#insert-or-update)
Every request performed will return a `Response` object as the resolved value. This object is responsible for carrying and handling the response body and ultimately executing actions such as persisting data to the store.
You can configure the plugin to perform transformation on the response data, using the `dataTransformer` configuration option, before it is persisted to the store.
0 commit comments