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
This is because Mongoose only runs the validator for the specific path being updated when we call findByIdAndUpdate. To discuss whether this is expected behaviour or not.
To replicate on staging:
The text was updated successfully, but these errors were encountered: