Skip to content
This repository has been 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

Open
pragmaticivan opened this issue Aug 22, 2017 · 0 comments

Comments

@pragmaticivan
Copy link
Contributor

pragmaticivan commented Aug 22, 2017

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant