7 评论 (7 评论)0 反应 (0 反应)0 负责人 (0 负责人)JavaScript1,181 star (1,181 star)156 fork (156 fork)batch import
help wantedrefactor
- 议题类型
- feature
- 研究方向
- The issue requests updating middleware to accept an array of functions within routeOptions.middleware. To begin, examine the current route generation logic in the rest hapi codebase, likely in files such as 'lib/route.js' or 'lib/middleware.js'. Check the existing middleware handling to understand how a single function is applied. Then, propose a change to allow an array, ensuring backward compatibility. Review any comments in the issue for additional context from maintainers or contributors.