Describe The Problem To Be Solved
I'm migrating from on-change to using captureStoreUpdates().
When using captureStoreUpdates(), setting a new value mutable.settings.model = model will produce the path: ["settings"]. However, if I replace the entire settings object this will trigger more updates than just updating the settings.model property.
Suggest A Solution
I propose for an option or change in behavior where setting mutable.settings.model produces path: ["settings", "model"].
Describe The Problem To Be Solved
I'm migrating from
on-changeto usingcaptureStoreUpdates().When using
captureStoreUpdates(), setting a new valuemutable.settings.model = modelwill produce thepath: ["settings"]. However, if I replace the entiresettingsobject this will trigger more updates than just updating thesettings.modelproperty.Suggest A Solution
I propose for an option or change in behavior where setting
mutable.settings.modelproducespath: ["settings", "model"].