[Bug]: `Path.update` does not update nested properties correctly
vitoke opened this issue · 0 comments
vitoke commented
When using Path.update
with nested values, the objects are not updated as expected.
For example Path.update({ a: { b: 1 } }, 'a.b', v => v + 1)
places the update function into the resulting object. Expected would be that the value is increased by one.