ctavan/express-validator — pull request #46 by itoche (2013-08-19 13:01:27+00:00)
Title: errorFormatter called with the request as this

The idea is to call errorFormatter() with the request as this to allow an errorFormatter custom implementation to make use of other information/functions stored on the request for the formatting of the error.

My practical case is to internationalize the message thanks to the user's locale stored along each request.

Let me know what you think of this.