InversifyJS
InversifyJS copied to clipboard
A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.
How to inject method parameter ``` @inject() Class Name { doSomething( @inject() test: string ) { console.log(string); } ```
## Expected Behavior The unhandler error captures should pass through the error middleware and should send the proper error message. All route should behave same using by passing error to...
https://github.com/inversify/inversify-express-example/pull/336 ## Expected Behavior Build Passes with Inversify-binding-decorators 4.0.0
Why no something like `container.onNoMatchingBindingsFount(() => /* do something, throw an custom error*/)`.
## Expected Behavior I don't expect the LAZY_IN_SYNC error to fail when displaying symbols. ## Current Behavior LAZY_IN_SYNC fails to display symbols. ## Possible Solution Call `.toString()` explicitly before printing...
Let's imagine the following class hierarchy: ```js interface Weapon { } interface BladedWeapon extends Weapon { } class Katana implements BladedWeapon { } class Stick implements Weapon { } ```...
This seems to be wrong behavior, doesn't it? I expect dependencies can't propagate from bottom to top, but that's what's happening right now ## Steps to Reproduce (for bugs) ```typescript...
## Expected Behavior Other IoC libraries have support for the `@singleton` annotation which indicates that an `@injectable` class will always resolve `inSingletonScope`. I think having support for this annotation would...
## Inversify-generator This more than a suggestion/improvement it's a contribution of our company to the software scene through a package that complements inversify. We love and use a lot inversifyjs...
When there is a circular dependency, inversify tries to reconstruct the circular path. However, if a multiInject is located in the requests that are evaluated before the actual circular dependencies...