Slim 5: Ensure that route attributes are always in the Request
With the way strategies are currently implement, route parameters are only sometimes set into the Request's attributes.
In Slim 5, we should ensure that they are always in there for consistency purposes and that strategies (if we choose to continue with them) only affect the signature of the callable.
Hi! Read up on Slim over the last weekend and am probably going to use it in my project once I move frameworks. Would love to help out here if I can!
Is the idea behind this issue that the code behind this if statement should in fact run every time? If so, I can pick this up if it's worth tackling.
This feature will added in Slim 5 as a new Middleware, see here.