VirusTotalNet icon indicating copy to clipboard operation
VirusTotalNet copied to clipboard

Question: Validator Middleware Nodejs

Open shenferhat opened this issue 2 years ago • 1 comments

how to use a library like express-validator with middleware? i am using node18, there is an example middleware but node10 and depricated.

shenferhat avatar Sep 19 '23 13:09 shenferhat

Hi @shenferhat

We need everyone to fill out the full issue template, whilst this seems obvious to you, there's so much detail and context missing from your issue, including what purpose express-validator serves for you, why you feel it's a hard requirement, and if you've considered any alternatives.

https://raw.githubusercontent.com/openfaas/faas/master/.github/ISSUE_TEMPLATE.md

The less information you give, the harder it is for us to help you.

I'll also get this moved over to the templates repo as I believe you're asking a question about one of our Node templates?

My eBook on OpenFaaS explains how templates work, how to customise them and make your own. It sounds like you may be best doing that.

Alex

alexellis avatar Sep 22 '23 09:09 alexellis