You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `getState()->is('dirty')` method only updates when changes are made to the owning model directly, and does not recognize changes made on ancestor embedded models. The `isDirty()` check, however, does not have this problem because it actively introspects ancestor embeds via `hasOneEmbeds->areDirty()` and `hasManyEmbeds->areDirty()`.
As such, the `Store` needs to use this method when determining when to update the model, otherwise changes to ancestor embeds may not be committed.
0 commit comments