Need to find a solution to how middleware is added as a class string. Currently this added when its called, which causes issues as the default di rules are not added until finalise is called.
Proposing creating a middleware stack inside app it self, which will mean those that are added before the app is booted, will only be created after the initial boot.
Need to find a solution to how middleware is added as a class string. Currently this added when its called, which causes issues as the default di rules are not added until finalise is called.
Proposing creating a middleware stack inside app it self, which will mean those that are added before the app is booted, will only be created after the initial boot.