Skip to content
This repository was archived by the owner on Feb 10, 2023. It is now read-only.
This repository was archived by the owner on Feb 10, 2023. It is now read-only.

Can I construct a chain from within another middleware ? #4

@ghost

Description

I decide depending on req object which middlewares to push. Synchronously preferably.
Check this for instance:
https://github.com/bacloud14/Classified-ads-48/blob/hacktoberfest_only_branch/lib/services/middlewares.js

I'm using connect-sequence but it doesn't seem to properly call middlewares (here I'm attaching Multer and auth0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions