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
I am attempting to simplify my existing validation logic by using this library. However, I soon realized that my code uses trim() and toUpperCase() in many places, but express-validator does not have a sanitizer that corresponds to toUpperCase().
For now I have used a custom sanitizer, but this seems like something that would be generally useful.
The text was updated successfully, but these errors were encountered:
I am attempting to simplify my existing validation logic by using this library. However, I soon realized that my code uses trim() and toUpperCase() in many places, but express-validator does not have a sanitizer that corresponds to toUpperCase().
For now I have used a custom sanitizer, but this seems like something that would be generally useful.
The text was updated successfully, but these errors were encountered: