davestewart / vuex-pathify

Vue / Vuex plugin providing a unified path syntax to Vuex stores
https://davestewart.github.io/vuex-pathify
MIT License
1.37k stars 57 forks source link

Nested Modules don't work with wildcards #76

Open JessicaSachs opened 5 years ago

JessicaSachs commented 5 years ago

Hey Dave, I don't believe that wildcard notation works with nested modules. When the nested modules are flattened (backslashes removed), they work again.

https://codesandbox.io/s/vuex-pathify-main-demo-b964j?fontsize=14

davestewart commented 5 years ago

OK, I had a quick look.

I think the problem is that I'm not properly supporting nested modules:

I'll update the ticket title and schedule some time to fix!

davestewart commented 5 years ago

OK... looks like nested modules and wildcards are fine...

...at least:

I REALLY have to get these automated tests done.

That is my next to-do item, thanks to the excellent initial work done by @axwalker.

Maybe I will get onto that this weekend.