AndrewKeig / express-validation

express-validation is an express middleware that validates a request and returns a response with errors; if any of the configured validation rules fail.
MIT License
393 stars 85 forks source link

PR to include "session" for validation #132

Closed basaran closed 3 years ago

basaran commented 3 years ago

Hello,

Can I send a PR to allow "req.session" in schema objects?

It's actually just one line to be added to the parameters.js.

basaran commented 3 years ago

Hello, I forked your project and published an NPM package.

express-validation-session

and kept all the licensing, and authoring information intact. Linking it to the main repo. If you do not approve, please let me know and I will change them. Thank you for making the package available.