Skip to content
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

Fix some typos #180

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/guide/custom-queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ way. This might be changed in the future, when we find a better solution.
## Model related custom query

You may sometimes want to send custom GraphQL query. We support this via the `query` action. However please notice that
the convenienceMethods here are named `customMutation` and `$customMutation` due to a name conflict with the `query()`
the convenienceMethods here are named `customQuery` and `$customQuery` due to a name conflict with the `query()`
method Vuex-ORM.

```javascript
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/eager-loading.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class User extends Model {
## Eager Saving

Similar to the eager loading there is a "eager saving". When saving (via `$persist` or `$push`) a
record will automatically sends all `belongsTo` related records too to the server.
record will automatically send all `belongsTo` related records too to the server.

All other related records have to be added to a static field in the model called `eagerSave` to
have them eagerly saved with persist and push.
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/persist.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Like when pushing, all records which are returned replace the respective existin

## Additional variables

You can pass a object like this: `$perist({ captchaToken: 'asdfasdf' })`. All fields in the object will be passed as
You can pass a object like this: `$persist({ captchaToken: 'foo' })`. All fields in the object will be passed as
variables to the mutation.


Expand Down
2 changes: 1 addition & 1 deletion docs/guide/push.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Like when persisting, all records which are returned replace the respective exis

## Additional variables

You can pass a object like this: `$push({ captchaToken: 'asdfasdf' })`. All fields in the object will be passed as
You can pass a object like this: `$push({ captchaToken: 'foo' })`. All fields in the object will be passed as
variables to the mutation.


Expand Down
2 changes: 1 addition & 1 deletion docs/guide/relationships.md
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ query Posts {
See the [Many To Many Polymorphic Relations section](https://vuex-orm.github.io/vuex-orm/guide/relationships/defining-relationships.html#many-to-many-polymorphic-relations) in the Vuex-ORM documentation.
:::

Eager loading behaves the same as in a normal Many To Many: Nothing is eager loaded automatically. So we add a
Eager loading behaves the same as in a normal Many To Many: nothing is eager loaded automatically. So we add a
`eagerLoad` field to make sure the tags are loaded automatically with the post or video.

**Models:**
Expand Down