Express - better pattern for passing data between middleware functions
问题 I just brought up this issue with Express and I am interested in what StackOverflow thinks about it: https://github.com/strongloop/express/issues/2831 my question is why Express opts to disallow the developer from passing data directly between middleware functions and basically forces you to assign temporary data to the request object in what I have always considered to be a quite awkward assignment. to be more specific: passing data between middleware functions usually involves doing this