Closed Samitier closed 6 years ago
Hello,
Right now, thanks to #1, we can use the decorator without parameters:
@State foo @Getter bar @Action baz
But when using modules and namespaces, the decorator parameter is still mandatory:
const someModule = namespace('path/to/module') [...] @someModule.State('foo') foo
Would it be possible to infer the property name in namespaces too to make the code more consistent?
Thanks!
Well, you already can omit property name on namespaced helpers. https://github.com/ktsn/vuex-class/blob/master/test/bindings.ts#L81
Oh sure, my bad!
Thank you @ktsn !
Hello,
Right now, thanks to #1, we can use the decorator without parameters:
But when using modules and namespaces, the decorator parameter is still mandatory:
Would it be possible to infer the property name in namespaces too to make the code more consistent?
Thanks!