File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ actionText: Get Started →
5
5
actionLink : /guide/
6
6
features :
7
7
- title : GraphQL
8
- details : This Vuex-ORM plugin uses the apollo-client to let you sync your Vuex-ORM state with a GraphQL API
8
+ details : This Vuex-ORM plugin uses the apollo-client to let you sync your Vuex-ORM state with a GraphQL API.
9
9
- title : Vuex-ORM
10
10
details : The plugin keeps up with the API and design of Vuex-ORM with full reactivity.
11
11
- title : No boilerplate
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ While using Vuex-ORM with the Apollo plugin you have to distinct between two typ
19
19
- Vuex-ORM actions: Retrieve data from or save data to Vuex (` Vue Component <--> Vuex Store ` )
20
20
- Persistence actions: Load data from or persist data to the GraphQL API (` Vuex Store <--> GraphQL Server ` )
21
21
22
- The following table lists all actions and what they to :
22
+ The following table lists all actions and what they do :
23
23
24
24
CRUD | Vuex Only | Persist to GraphQL API
25
25
--| -- | --
Original file line number Diff line number Diff line change 4
4
5
5
This plugin has an opinion of how the GraphQL API schema should look like:
6
6
7
- - Query for multiple records is plural camelCase: ` blogPosts `
7
+ - Query for multiple records is plural camelCase: ` blogPosts ` .
8
8
- Mutations begin with the verb (` create ` , ` update ` , ` delete ` ) and the camelCased entity: ` createBlogPost ` for example.
9
- - The create mutation expects the new record as a input type argument
10
- - The update mutation expects two arguments: The ID and the new record as a input type
11
- - The delete mutation expects the record ID to delete
9
+ - The create mutation expects the new record as a input type argument.
10
+ - The update mutation expects two arguments: The ID and the new record as a input type.
11
+ - The delete mutation expects the record ID to delete.
12
12
- Multiple records are within a ` nodes ` object and filtered by a ` filter ` argument.
13
13
14
14
You will find concrete examples of the GraphQL queries which are generated by this plugin in the
You can’t perform that action at this time.
0 commit comments