In Blumilk\BLT\Features\Traits\Middleware there are a few methods for middleware handling. They are all about disabling some or all middlewares.
We need at least to add a way to provide and enable custom middleware for specific scenarios. Maybe an option to test single middlewares would be nice too.
Feature: Test middlewares
Scenario: Every request should be uniquely identified
Given there is a "IdentifyRequest" middleware enabled
When a user is requesting an application
Then request object should have an UUID in "id" field
In
Blumilk\BLT\Features\Traits\Middleware
there are a few methods for middleware handling. They are all about disabling some or all middlewares.We need at least to add a way to provide and enable custom middleware for specific scenarios. Maybe an option to test single middlewares would be nice too.