Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Validator Middleware Nodejs #308

Open
shenferhat opened this issue Sep 19, 2023 · 1 comment
Open

Question: Validator Middleware Nodejs #308

shenferhat opened this issue Sep 19, 2023 · 1 comment

Comments

@shenferhat
Copy link

shenferhat commented Sep 19, 2023

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

@shenferhat shenferhat changed the title Question Question: Validator Middleware Nodejs Sep 19, 2023
@alexellis
Copy link
Member

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 alexellis transferred this issue from openfaas/faas Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants