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

TypeError: getter(...).apply is not a function #10

Closed hlobil closed 6 years ago

hlobil commented 6 years ago

upgrading 1.0.5 to 1.0.6

expect(store.get('helpers/foo')).toBe(1);

What should be the new syntax?

davestewart commented 6 years ago

Ah, sorry about this. Issue #9 raised the previous behaviour as a bug, so I needed to alter the behaviour.

Looks like I introduced a bug - really sorry!

I'll look at that now.

In the meantime, just set your package to 1.0.5

Note to self: get tests written

davestewart commented 6 years ago

Fixed in 3adf169bd8bac0e4718f657bee90c0ea1729d9df