Ability to reset $isDirty flag
This releases adds the following:
preventDirtyFlagoption
You can now pass thepreventDirtyFlag: trueoption to anyupdateorinsertOrUpdatecall to prevent the$isDirtyflag from being set totruefor this specific action / mutation.
User.update({
data: myUserToUpdate,
preventDirtyFlag: true
});resetAllDirtyFlagsaction
This action will run through all the entities marked as dirty in your store and set the corresponding flag tofalse.
store.dispatch['entities/resetAllDirtyFlags']({}, { root: true });