mesqueeb / vuex-easy-firestore

Easy coupling of firestore and a vuex module. 2-way sync with 0 boilerplate!
https://mesqueeb.github.io/vuex-easy-firestore
MIT License
234 stars 28 forks source link

timestamp convert for nested props #306

Closed Fulbert closed 4 years ago

Fulbert commented 4 years ago

Hello,

I'd like to do something like this : 'signatures.customer.date': '%convertTimestamp%'. Unfortunately it doesn't work. That might be useful ?

In the midtime I'm going to use the addedHook.

Thanks!

mesqueeb commented 4 years ago

@Fulbert Good catch. I believe nested properties might not be supported. However, I think using the addedHook is a great solution.

For version 2.0 I'm doing things differently, so for the time being until version 2.0 comes out, you can continue to use the addedHook.

Thanks for reporting! --
Vuex Easy Firestore was made with ♥ by Luca Ban.
If you use this library in your projects, you can support the maintenance of this library by a small contribution via Github 💜.
You can also reach out on twitter if you want a one-on-one coding review/lesson. 🦜