Skip to content
This repository was archived by the owner on Oct 8, 2024. It is now read-only.

Add lifecycle for execution after all the plugins and routes are configured #97

@pragmaticivan

Description

@pragmaticivan

Problem:

The only way to setup a middleware that performs after the routes are loaded is defining the file to be processed by the end in the glob.

It's not easy for example to setup an error middleware to ignore the one provided by magnet.

Add lifecycle after this line: https://github.com/wedeploy/magnet/blob/master/src/magnet.js#L498

Suggestions:

loaded.js
ready.js

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions