7 comments (7 comments)0 reactions (0 reactions)0 assignees (0 assignees)JavaScript1,181 stars (1,181 stars)156 forks (156 forks)batch import
help wantedrefactor
Description
This issue does not include a description.
- Issue type
- feature
- Research direction
- 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.