DmitryTsepelev/store_model

Array of array support

arushs opened this issue · 3 comments

I'm interested in understanding how we would support arrays of arrays with store model.

I could do something like defining a new type with Store model that then stores that array but that seems a bit cumbersome.

Hi @arushs! So you want something like { points: [[1, 2], [3, 4]] }, right? I guess we could add a custom type for that like we do for dates.

Yup exactly. I made my own type for this but it seems like its a type StoreModel could support out of the box.

Maybe 🙂want to do a PR?