Skip to content
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

Add callback (hook) for adding or removing dirty state on DS.Model #445

Closed
shwoodard opened this issue Oct 29, 2012 · 1 comment
Closed
Labels
🏷️ feat This PR introduces a new feature

Comments

@shwoodard
Copy link
Contributor

In the event of a custom transform like, 'object' that serializes/deserializes json it would be helpful/needed to add the ability to detect if that object is dirty. IOW, just because the objects are the same or not the same does not compare the properties therein.

For example, if I change the value of a property in an 'object' attr and set the attr to a new object--making it dirty--then if I change the property back in a similar fashion, the attr is still dirty because it is not the same object as the original.

@sly7-7
Copy link
Contributor

sly7-7 commented Apr 19, 2013

@shwoodard Is this still relevant ? Probably because I'm not a native english, but I don't understand what you want here.

@runspired runspired added 🏷️ feat This PR introduces a new feature and removed Improvement labels Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ feat This PR introduces a new feature
Projects
None yet
Development

No branches or pull requests

4 participants