Skip to content
#

Express

express logo

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.

Here are 37,775 public repositories matching this topic...

express-validator
finction
finction commented Sep 11, 2021

Describe the bug

https://express-validator.github.io/docs/custom-validators-sanitizers.html

On this page there is an example where it is checked if an email is already in use by accessing a data repository from a validator. Practice like this is bad as you'll only get a validation error if your database connection is dead for example. Proper error handling in such cases could be problemat

Created by TJ Holowaychuk

Released November 16, 2010

Organization
expressjs
Website
expressjs.com
Wikipedia
Wikipedia