I'm assuming this is intended behaviour and not a bug - but I'm running into an issue using mongoose to validate a form's input, as on save it appears to discard *all* fields if one or more fields fails to validate. i.e. for the save to trigger there needs to be no errors on any of the input.
Is there a way that I can use inline validation (`match`, specifically), but still save fields that *do* validate correctly? Or am I going to have to handle all validation before it hits mongoose and only pass in the fields that I know will validate?
Basically my scenario is a settings page. So if a user changes a load of settings but only has one field with an issue, I want to save all the other fields, and only not save the one with the issue.