mesqueeb / vuex-easy-firestore

Easy coupling of firestore and a vuex module. 2-way sync with 0 boilerplate!
https://mesqueeb.github.io/vuex-easy-firestore
MIT License
234 stars 28 forks source link

Using openDBChannel with where clause does not pick up newly added/removed documents matching where condition #349

Open mgunn0103 opened 4 years ago

mgunn0103 commented 4 years ago

After using openDBChannel with a where clause, I tried adding new documents and removing existing documents matching the condition in the where clause. The state is not updated in either case. Removing the where clause allows things to work as expected.,

xariusdesai commented 3 years ago

Did this get resolved at all?

I think I have a somewhat related issue to this, I use openDBChannel with a where clause on one component, then I closeDBChannel in the beforeDestroy hook. On another component when mounting I use openDBChannel without a where clause, but it doesn't pull through the rest of the documents, only the ones from the previous where clause?

Any ideas as to why that might be?