InversifyJS
InversifyJS copied to clipboard
A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.
I could not inject into the constructor, only as private property ( React app) I got this error: `or: Missing required @inject or @multiInject annotation in X: argument 0 in...
I need to implement circular dependency. But workarounds in docs don't work for me. I used lazyServiceIdentifie LazyServiceIdentifer, lazyInject but there some errors. For example: A injects B, B injects...
I got the error "Metadata key was used more than once in a parameter: inject". You can find the error constant: https://github.com/inversify/InversifyJS/blob/master/src/constants/error_msgs.ts You can find it used: https://github.com/inversify/InversifyJS/blob/master/src/annotation/decorator_utils.ts I do...
1. For example I have class **AppFactoy** with private **Container** 2. I have multiple instances of **AppFactoy** that have their own bindings. Simple raw sample with ordinary injections (not lazy):...
**Issue**: We have detected the following unused dependencies in your project: Unused devDependencies * browserify * istanbul * karma * karma-chai * karma-chrome-launcher * karma-commonjs * karma-es6-shim * karma-firefox-launcher *...
## Expected Behavior I expect easy access to request scope bound variables or at least some help in this issue. ## Current Behavior Little hard to get it working in...
I got 3 classes, and I would like to have (ServiceA) as a group, and (ServiceB, ServiceBChild) as another group. Such that, there are 2 modules can be provided. ##...
I's trying to implement [Deactivation Handler](https://github.com/inversify/InversifyJS/blob/master/wiki/deactivation_handler.md) but found that many methods, including [onDeactivation](https://github.com/inversify/InversifyJS/blob/master/src/container/container.ts#L239) are missing in npm package (5.1.1). When I build bundle from inversify source code, I get the...
Investigate `@preDestroy` see https://github.com/inversify/InversifyJS/issues/587#issuecomment-311881952 for more info...
## Context See for some context: https://github.com/inversify/InversifyJS/pull/1374 Because the `dom` library is included in the root `tsconfig.json`, there are typings in server-side only node which should not exist. This can...