Open Glandos opened 4 years ago
After so many research, my findings are not good news.
It seems that registerMutation
from Vuex doesn't provide access to local getters and mutations, as it does with actions and getters. So it's quite impossible to create the local proxy for this.
I am about to create a static member that return the proxy in each VuexModule class…
I am trying to call a getter with a mutation, and it seems not to work:
I can work around this by using a proxy within the mutation:
But I thought that this could have been done at a higher level. Am I missing something?