vuex-orm / plugin-graphql

Vuex ORM persistence plugin to sync the store against a GraphQL API.
https://vuex-orm.github.io/plugin-graphql/
MIT License
227 stars 52 forks source link

Option to switch between insert and create #105

Open phortx opened 5 years ago

phortx commented 5 years ago

from #101:

should have a flag which simply does vuex orm .create() instead of a .insert() (would solve pagination)

tonipepperoni commented 5 years ago

I think just making another action instead of fetch is sufficient. I just made my own action. which does a Store.createData