1

Closed

Construct Middleware with Parameter

description

The middleware is currently constructed in two phases: initialization followed by instantiation. I don't think I was aware that Katana allows constructor arguments in the generic Use method, but I recently noticed while reading the documentation that it does. Consider simplifying the construction model to be single-phase, with a constructor parameter (query factory) assigned to a read-only instance field.
Closed May 23, 2014 at 7:33 PM by davedev
Done.

comments