InversifyJS icon indicating copy to clipboard operation
InversifyJS copied to clipboard

A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.

Results 173 InversifyJS issues
Sort by recently updated
recently updated
newest added

Greetings and thank you for the wonderful library. Great job! Is there a way to unbind and rebind specific named/tagged bindings?

Hey, I have the problem that I can't get the injects working. It always says `Missing required @inject or @multiInject annotation`. Event though I add this annotation it still complains...

I would expect `@preDestroy()` to be called just once per instance it's bound to, however when there's other `toService()` bindings pointing to it, it will be called as many times...

This issues is related to [inversify-express-utils](https://github.com/inversify/inversify-express-utils) Dynamic Loading and registering controllers at runtimes after starting the server instance ## Expected Behavior I'm developing a modular runtime application with nodeJs. I...

How should I do to inject into a class which is consumed in two different instances or more, different implementations of an interface? ## Expected Behavior ```ts const types =...

Many of the `Container` class fields should be `protected` instead of `private`. The current implementation of the `Container` class actually does not expose any way to "extend"/"improve"/"adjust to customer needs",...

## Expected Behavior lazyInject should be a usable decorator, instead it's just `null` or `undefined` or something else :-( Somehow this gets thrown away. ## Steps to Reproduce (for bugs)...

## Expected Behavior At the moment it is possible to define service having asynchronous `@postConstruct()` method making it asynchronous and it would be great to have it work together with...

## Expected Behavior I'm studying [INVERSIFY-EXPRESS-EXAMPLE](https://github.com/inversify/inversify-express-example). According to README, I can start the service with the command `ts-node BindingDecorators/bootstrap.ts`. ## Current Behavior However, when I run it, i got the...

After performing load test (with artillery js) on multiple frameworks I found inversify-express-utils performance to be behind the competitors and plan express.js. ## Expected Behavior - Latency shouldn't reach above...