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
{{ message }}
This repository has been archived by the owner on Apr 19, 2019. It is now read-only.
Hello, this is somewhat related to my earlier comments in #167. What I've come to learn is that what I was looking for in my app is an ODM layer on top of Vuex, Firestore, vuexfire. Inspired by Mongoid, something like:
With this you can operate on a todo object ie let todo = Todo.create(...); todo.updateAttribute(...); todo.upsert(...); todo.delete(); todo.category; todo.text; todo.subTasks; todo.subTasks.create(...);.
I've built a working version of this using dynamic modules under the hood, but it needs a lot of work. Before I spend more time on it I thought I'd ask if this was on the road map of vuexfire? Or if there are other libraries you may know about that might just require a vuexfire "adapter" to get working? If their is no such ODM for even firebase, which has been around for a while, is there a flaw in my reasoning as to this being a missing level of abstraction for our Vuex/Firestore apps?
The text was updated successfully, but these errors were encountered:
Looks good. A more general, non-firestore-specific library to look into is https://vuex-orm.github.io/vuex-orm/ which may be able to be used with Firestore as a persistency backend using vuexfire / fiery.
This is something that goes beyond the scope of vuefire/vuexfire. It could be useful but only for a small amount of people using it, I'm okay with having some discussion around it (in vuefire repo) but I definitely don't have the bandwidth to produce such thing.
Theoritically it could be built as a plugin once vuejs/vuefire#240 or vuejs/vuefire#153 get implemented
I'm archiving vuexfire since everything is moved to vuefire, so I'm closing this
Hello, this is somewhat related to my earlier comments in #167. What I've come to learn is that what I was looking for in my app is an ODM layer on top of Vuex, Firestore, vuexfire. Inspired by Mongoid, something like:
With this you can operate on a todo object ie
let todo = Todo.create(...); todo.updateAttribute(...); todo.upsert(...); todo.delete(); todo.category; todo.text; todo.subTasks; todo.subTasks.create(...);
.I've built a working version of this using dynamic modules under the hood, but it needs a lot of work. Before I spend more time on it I thought I'd ask if this was on the road map of vuexfire? Or if there are other libraries you may know about that might just require a vuexfire "adapter" to get working? If their is no such ODM for even firebase, which has been around for a while, is there a flaw in my reasoning as to this being a missing level of abstraction for our Vuex/Firestore apps?
The text was updated successfully, but these errors were encountered: