Skip to content

Commit 6873036

Browse files
Merge pull request #211 from tmcmah1/patch-1
Fixed links in 'service-module' documentation page
2 parents 997da9e + e5e82ad commit 6873036

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/service-module.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ The following state attribute will be populated with any request error, serializ
116116
## Service Getters
117117
Service modules include the following getters:
118118
- `list {Array}` - an array of items. The array form of `keyedById` Read only.
119-
- `find(params) {Function}` - a helper function that allows you to use the [Feathers Adapter Common API](https://docs.feathersjs.com/api/databases/common.md) and [Query API](https://docs.feathersjs.com/api/databases/querying.md) to pull data from the store. This allows you to treat the store just like a local Feathers database adapter (but without hooks).
119+
- `find(params) {Function}` - a helper function that allows you to use the [Feathers Adapter Common API](https://docs.feathersjs.com/api/databases/common) and [Query API](https://docs.feathersjs.com/api/databases/querying) to pull data from the store. This allows you to treat the store just like a local Feathers database adapter (but without hooks).
120120
- `params {Object}` - an object with a `query` object and an optional `paginate` boolean property. The `query` is in the FeathersJS query format. You can set `params.paginate` to `false` to disable pagination for a single request.
121121
- `get(id[, params]) {Function}` - a function that allows you to query the store for a single item, by id. It works the same way as `get` requests in Feathers database adapters.
122122
- `id {Number|String}` - the id of the data to be retrieved by id from the store.
@@ -203,7 +203,7 @@ The following mutations are called automatically by the service actions, and wil
203203
## Service Actions
204204
An action is included for each of the Feathers service interface methods. These actions will affect changes in both the Feathers API server and the Vuex store.
205205

206-
All of the [Feathers Service Methods](https://docs.feathersjs.com/api/databases/common.md#service-methods) are supported. Because Vuex only supports providing a single argument to actions, there is a slight change in syntax that works well. If you need to pass multiple arguments to a service method, pass an array to the action with the order of the array elements matching the order of the arguments. See each method for examples.
206+
All of the [Feathers Service Methods](https://docs.feathersjs.com/api/databases/common#service-methods) are supported. Because Vuex only supports providing a single argument to actions, there is a slight change in syntax that works well. If you need to pass multiple arguments to a service method, pass an array to the action with the order of the array elements matching the order of the arguments. See each method for examples.
207207

208208
> Note: If you use the Feathers service methods, directly, the store will not change. Only the actions will cause store changes.
209209

0 commit comments

Comments
 (0)