Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use _MiddlewareFactory as decorator with arguments #228
This change allows _MiddlewareFactory to be used as decorator with argument:
I have to define an extra function and wrap it with the middleware.
With this patch, I would be able to achieve same effect as the example at very beginning.