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
Hey folks, I'm trying to implement here the inversify-binding-decorators together with the inversify-express-utils lib. Unfortunately, I wasn't didn't manage to make my @controller bindings to work properly. They do not seem to be recognized and I'm having to load all of them through a container.load
I was expecting to add a @provide() on any of my controllers and it's automatically bound into my inversify container, so I don't need to load all of them manually with container.load (like above)
Current Behavior
Any @provide(CLASSNAMEHERE) on my controllers simply leads to a unbound controller (route throws a 404)
Possible Solution
A temporary workaround is binding modules manually and them loading them on container.load.
Hey folks, I'm trying to implement here the inversify-binding-decorators together with the inversify-express-utils lib. Unfortunately, I wasn't didn't manage to make my @controller bindings to work properly. They do not seem to be recognized and I'm having to load all of them through a container.load
for example:
Expected Behavior
I was expecting to add a @provide() on any of my controllers and it's automatically bound into my inversify container, so I don't need to load all of them manually with container.load (like above)
Current Behavior
Any @provide(CLASSNAMEHERE) on my controllers simply leads to a unbound controller (route throws a 404)
Possible Solution
A temporary workaround is binding modules manually and them loading them on container.load.
For example:
The text was updated successfully, but these errors were encountered: