mesqueeb / vuex-easy-access

Unified syntax for accessing your Vuex store through simple set() and get() functions + auto generate mutations
https://mesqueeb.github.io/vuex-easy-access/
MIT License
52 stars 6 forks source link

Array.push with vuex-easy-firestore doesn't work properly #50

Open Vileda254 opened 4 years ago

Vileda254 commented 4 years ago

When using the vuex-easy-access plugin together with vuex-easy-firestore the following action doesn't work as expected: State: {keyPeople: []}

Action: dispatch('set/keyPeople.push', payload);

Instead of pushing the payload object into the array, the vuex-easy-firestore set action gets triggered resulting in a push property being created on a keyPeople object in Firestore and the payload object then gets assigned to that property.