InversifyJS
InversifyJS copied to clipboard
A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.
## Description Fixes a typo ## Checklist: - [x] My code follows the code style of this project. - [x] My change requires a change to the documentation. - [x]...
## Background When using Inversify with possible multi-injection case, our framework have some requirements to control bound dependencies: ```javascript container.bind('Id').to(ClassA); container.bind('Id').to(ClassB); container.bind('Id').to(ClassC).inSingletonScope(); // In some cases like dynamic replacement or...
## Expected Behavior ### Create an instantiation with the per-request lifecycle ## Current Behavior ### I have the following settings in my container: ### I'm set the ApplicationContext with the...
If container has both onActivation handler and onDeactivation, onDeactivation throws error. ## Expected Behavior working without error ## Current Behavior this error pops out ``` $ yarn build && node...
Hi all, I''m not yet sure if this is a technical issue or a lack of understand on my part. Looking forward to learning from you all! ## Expected Behaviour...
Sometimes I face this issue in different environments (ubuntu 20.04 and macOS Monterey): 'TypeError: Cannot read properties of undefined (reading 'length')' Did anybody face the same issue? ## Environment *...
## Expected Behavior No extra compiler warnings when importing inversify in a Typescript project ## Current Behavior After creating a new React Typescript application, adding inversify and starting in dev...
Bumps [engine.io](https://github.com/socketio/engine.io) from 4.1.1 to 4.1.2. Release notes Sourced from engine.io's releases. 4.1.2 :warning: This release contains an important security fix :warning: A malicious client could send a specially crafted...
``` node_modules/inversify/lib/interfaces/interfaces.d.ts:275:10 - error TS1023: An index signature parameter type must be either 'string' or 'number'. 275 [propertyNameOrArgumentIndex: string | symbol]: Metadata[]; ``` ``` ❯ uname -a && node --version...
General Note on my tech-stack: I have an application composed of Node.js - Express- Inversifyjs - Typescript I have a modular structure on my express-routes on seperate files. Now when...