The application object accepts some config objects that we have internal special handling for, e.g., Logging, CSRF, Allowed Hosts, and CORS.
These things could be configured by plugin which would be more consistent with other things that are configured on the application, and would help reduce the number of parameters that the application object receives.
One advantage of the current setup is that we can set the explicitly put middleware for those things in the stack first, whereas via plugin we'd either need to rely on the user to order plugins appropriately, or define some prioritization scheme.
No response
No response
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too