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

Bumps [karma](https://github.com/karma-runner/karma) from 6.3.4 to 6.3.14. Release notes Sourced from karma's releases. v6.3.14 6.3.14 (2022-02-05) Bug Fixes remove string template from client code (91d5acd) warn when singleRun and autoWatch are...

dependencies

## Description toService method: ``` public toService(service: string | symbol | interfaces.Newable | interfaces.Abstract): void { this.toDynamicValue( (context) => context.container.get(service) ); } ``` Was using get method that throws exception...

"inversify": "^5.0.5", "inversify-inject-decorators": "^3.1.0", When using `lazyInject` decorator the following error occurs: TypeError: undefined is not an object (evaluating 'v.name') Generating decorators: ``` import { Container } from 'inversify' import...

Is inversify compatible with SWC? From our tests, it looks like the `@inject(...)` decorators are not correctly transpiled. ## Expected Behavior Works with swc ## Current Behavior `@inject` decorators seems...

Include src folder in published package. This is require to fix source maps on webpack and simmilar. I made this change few weeks ago but it was reversed https://github.com/inversify/InversifyJS/pull/1366

I'm building an application by feature modules, so I have something like `FeatureModuleA`, `FeatureModuleB` and so on. Every feature module has its own container module. Some of these modules are...

inversify officially supports and has examples for [express, restify](https://github.com/inversify/InversifyJS/blob/master/wiki/ecosystem.md#utilitites) and [hapi](https://github.com/inversify/InversifyJS/blob/master/wiki/ecosystem.md#examples). What about [koa](https://github.com/koajs/koa/)? It was [discussed](https://github.com/inversify/InversifyJS/issues/288) some years ago but never pursued. Some background: - koa was created by...

## Description As per #1327. Binding no longer has properties for each "to" syntax call and activated and cache have also been removed. Binding now has a value provider that...

Hello there, I have a question about this piece of code: This is how my factory looks like. As you can see I'm binding/unbinding some classes inside this factory method....

If I add `whenTargetNamed` only to one `ServiceIdentifier`, then `getNamed` and `getAllNamed` work incorrectly. ``` bind('serviceId').to(somethingXXX).whenTargetNamed('serviceName'); bind('serviceId').to(somethingYYY); ``` ## Expected Behavior ``` container.getNamed('serviceId', 'serviceName'); // returns - somethingXXX container.getAllNamed('serviceId', 'serviceName');...