Feature: Middleware #333
Labels
No labels
bug
confirmed
critical
discussion
documentation
Doing
enhancement
experiment
suggestion
support
Testing
To Do
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: hazaar/framework#333
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem Statement
Hazaar Framework currently lacks a middleware system, making it difficult for developers to implement reusable logic that can be executed at different stages of the request lifecycle. This results in more boilerplate code in controllers and routes, reducing maintainability and flexibility.
Who will benefit?
Benefits and risks
Benefits:
Risks:
Proposed solution
Introduce a middleware system with three types of middleware:
Middleware should be defined in the
app/Middleware
directory and registered through a configuration file.Examples
Priority/Severity
assigned to @jamie
created branch
333-feature-middleware
to address this issuementioned in merge request !233
mentioned in commit
90b09d2951