-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
method to tell if a model needs saving #2347
Comments
I believe this is a dup of #1367 |
the ask here is for a way to tell if it's been changed, not necessarily having isDirty apply to relationships. |
+1 I'm noticing also that |
|
I've opened an RFC for this issue. Please weigh in. |
Tracking this under #2122 |
as far as I can tell isDirty is the only way to tell if a model has been changed, but that does not get triggered if you change a belongsTo relationship, e.g.
I ended up having to write this
The text was updated successfully, but these errors were encountered: