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
{{ message }}
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.
It seems that even when doing a "same" save, so the same data reentered for save, and even when the mongoose validation fails, a new entry is created about the history of a model.
I think the first problem can be avoided since mongoose has the isModified() function, while the other should just not be at all.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
It seems that even when doing a "same" save, so the same data reentered for save, and even when the mongoose validation fails, a new entry is created about the history of a model.
I think the first problem can be avoided since mongoose has the
isModified()
function, while the other should just not be at all.The text was updated successfully, but these errors were encountered: