Open richard-mckenna opened 3 years ago
Not sure. Try undefined instead of null.
Same error unfortunately.
It only seems to be an issue with fetchAndAdd.
fetch, fetchById and openDBChannel work everywhere. fetchAndAdd throws that error everywhere.
can you add a debugger breakpoint and find where the error is ?
It seems it may be due to this Vue bug https://github.com/vuejs/vue/issues/9081
@richard-mckenna so your issue was unrelated to my library?
I'm having an issue getting vuex-easy-firestore (1.36.0) working with Vue (2.6.12) and Vuex (3.6.0). I have a simple module
If I call
dispatch('userData/fetchById', user.uid, { root: true })
in a vuex action it works fine and adds the user data to the store.If I call
dispatch('userData/fetchAndAdd', null, { root: true })
in a vuex action or in mounted() on a component, I get the following error:Any thoughts on what could be causing it. It's driving me crazy!