michaelolof / vuex-class-component

A Type Safe Vuex Module or Store Using ES6 Classes and ES7 Decorators written in TypeScript.
217 stars 21 forks source link

Fix for internal proxy #68

Open jobofos opened 4 years ago

jobofos commented 4 years ago

When creating internal proxies on submodules, they were generating the namespaced path twice.

Eg a module of 'user' with a submodule of 'settings' would generate a namespace path of 'user/user/settings'.

When trying to access local mutations, it is generating an error.

This resolves it by removing the double up.