Closed joneldiablo closed 5 years ago
@joneldiablo thank you for contributing 👍 What exactly is the problem that you are trying to solve?
If you make a PR you should create a own fork and start on a new branch which is even with the master... I see you have commits from a another PR...
Close due to no response.
to avoid the bind this in controllers I add a function wrapper ´´´ const controllerFunc = (req, res, next) => contr[controllerMethod](req, res, next); router.route(myPath)requestMethod; router.route(myPath)[requestMethod](middlewares, controllerFunc); ´´´