We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It's a common practice in Express to install an array of middlewares, rather than a single one.
This would be really handy for polices that basically export a set of middlewares.
Currently, the only way to do that is by chaining the functions one by one:
return urlEncoded(req, res, (err) => { if (err) return next(err); tokenIntrospection(req.body.token, req.body.token_type)
While the idea would be to do:
return [urlEncoded, (req,res,next)=>{/* my stuff */}]
The text was updated successfully, but these errors were encountered:
XVincentX
No branches or pull requests
It's a common practice in Express to install an array of middlewares, rather than a single one.
This would be really handy for polices that basically export a set of middlewares.
Currently, the only way to do that is by chaining the functions one by one:
While the idea would be to do:
The text was updated successfully, but these errors were encountered: