mariocasciaro / object-path-immutable

Modify deep object properties without modifying the original object (immutability). Works great with React and Redux.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Number-based object keys

marekolszewski opened this issue · comments

This project is really nice and exactly what I'm looking for. I would like to ditch lodash and immutability-helpers and switch to this entirely, but I'm encountering issues with paths that contain numbers that are not intended to be array indices.

Would it be possible to pass a flag to tell object-path-immutable to not treat these numbers as array indices?

Thanks!

Marek