You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating to the latest version of inversify and inversify-express-utils, I can't have controller inheritance working with more than 1 base controller, like BaseController -> BaseApiController -> PostController, URLs from BaseController return 404
Expected Behavior
You should be able to extend as many base controllers as you like and keep the methods and URLs
I like splitting my controllers and using a lot of inheritances, like having a base controller, then a query controller, and a paginateable controller all inheriting the previous one
Your Environment
I'm on macOS Catalina, node 14.5.0, using all other deps from inversify-express-utils
The text was updated successfully, but these errors were encountered:
After updating to the latest version of inversify and inversify-express-utils, I can't have controller inheritance working with more than 1 base controller, like BaseController -> BaseApiController -> PostController, URLs from BaseController return 404
Expected Behavior
You should be able to extend as many base controllers as you like and keep the methods and URLs
Current Behavior
The base endpoints return 404
Steps to Reproduce (for bugs)
npm install
controller_inheritance.test.ts
with my gist https://gist.github.com/aescarcha/341db9d36ccff444b8ad1368e2c834c2npm run test
should failContext
I like splitting my controllers and using a lot of inheritances, like having a base controller, then a query controller, and a paginateable controller all inheriting the previous one
Your Environment
I'm on macOS Catalina, node 14.5.0, using all other deps from inversify-express-utils
The text was updated successfully, but these errors were encountered: