Closed andrey-helldar closed 4 years ago
I changed my mind about offering middleware filtering by uniqueness.
This is due to the fact that there may be several such checks in the code, but this will not be known with filtering. For example, when each such check makes a request to the database. In my opinion, this is bad.
Therefore, it is better to leave the output of the entire list of middlewares.
In the current stable version of the package, middlewares are not grouped and, if the middleware is set to
null
or[]
, it is not excluded from the final array. Pool request corrects this error.Before
After
Example source