-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
captureStoreUpdates
— return the full path
to the property that changed
#576
Comments
captureStoreUpdates
— return the full path to the property that changed
captureStoreUpdates
— return the full path to the property that changedcaptureStoreUpdates
— return the full path
to the property that changed
|
I would choose the simpler implementation as well. It would be great then to have another helper as well. However, if this isn't something you are interested in at the moment you can close this issue. Thanks for the detailed explanation! |
Describe The Problem To Be Solved
I'm migrating from
on-change
to usingcaptureStoreUpdates()
.When using
captureStoreUpdates()
, setting a new valuemutable.settings.model = model
will produce thepath: ["settings"]
. However, if I replace the entiresettings
object this will trigger more updates than just updating thesettings.model
property.Suggest A Solution
I propose for an option or change in behavior where setting
mutable.settings.model
producespath: ["settings", "model"]
.The text was updated successfully, but these errors were encountered: