-
Notifications
You must be signed in to change notification settings - Fork 103
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
before() #63
Comments
sorry, there's still no replacement for |
Hey @noodlehaus, any update on this? getting to a point in an application where a |
Sorry I never got back to this. I am working on bringing back the functionality as # apply auth() and loadBook() under this route
apply('/record/:id', auth(...), loadBook(...));
# auth() and loadBook() should have been executed
route('GET', '/record/:id/edit, showEditBookForm(...)); This would require a way to forward values from the middleware to the next handlers, for cases where the middleware is used for preparing the context for the final handlers. For ones that divert handling, this is not an issue. Another approach might be to just allow multiple callables in the route('GET', '/admin', auth(...), showDashboard(...)); Looking into this finally. |
Closing this. Features already in #90. Just verifying the minimum required PHP version for these (8+). |
Hi, quick question,
what is the alternative to the before() method in the latest release?
The text was updated successfully, but these errors were encountered: