-
Notifications
You must be signed in to change notification settings - Fork 3
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
Priorité d'éxécution des middlewares #51
Comments
We could define priority in the middleware wrapper like this: export default async function middlewareWrapper(context) {
this.priority = 4;
return async function authenticate(request, response, next) {
context.logger.debug('Hello world from middleware');
return next();
};
} What do you think? |
lymeo
pushed a commit
that referenced
this issue
Jan 7, 2020
Pushed implementation is that ok? |
Great, thanks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bonjour
Il pourrait être intéressant d'avoir la possibilité de définir l'ordre d’exécution des différents middlewares.
The text was updated successfully, but these errors were encountered: