-
-
Notifications
You must be signed in to change notification settings - Fork 141
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
Question #369
Comments
See linked PR. Thank you for the issue! Lmk if you have any more questions! |
I see. So one must create a shallow copy in user land and changes are detected?... Perhaps But I wonder, is there a reason the library can't relieve us of that mental weight for us? |
In this case you are on operating on the same array throughout the lifecycle of that object, by the time we compare both array to determine if there are |
Not sure if this is a bug or if I'm simply misunderstanding usage but I noticed the following;
This will not mark the property
arrayOfItems
as changed. It does not appear in the changeset.changes. Eventhough I usechangeset.set
.When I use the following does mark property
arrayOfItems
as changed.I think I get why this is happens; the value being a reference, which did not change, but it is a little confusing...
Version
2.1.2
Expected Behavior
Using
changeset.set
on arrays or lists should also mark the property as changed when it's different.The text was updated successfully, but these errors were encountered: