simplify the Middleware constructor
We should do the hard work outside the constructor. Also fix the tests to not directly construct middleware objects, but to go through the stack object.
Showing
想要评论请 注册 或 登录
We should do the hard work outside the constructor. Also fix the tests to not directly construct middleware objects, but to go through the stack object.