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

## Expected Behavior classess fields must work as usuasl javascript classes fields. ``` @injectable() export class SomeClass implements ISomeClass { private some_array; ... } ``` "this.some_array" field as result shoudnot...

## Description FIx some spelling error. ## Motivation and Context Word spelling errors make people confuse. ## How Has This Been Tested? `npm run test` result passed. ## Types of...

Given that you use a global object which holds Symbol("Something") values and having bound a class to that identifier. If I try to get that identifier from the container, i...

Please check [this stackblitz project](https://stackblitz.com/edit/typescript-inversify-neeqgd?file=index.ts) to see the issue. Basically, although `skipBaseClassChecks` is set to `true`, the checks are still being performed. Any idea why this is happening?....Something wrong in...

## Expected Behavior I expect to see `success` emitted to console in code below ## Current Behavior Instead, I see the error `Error: No matching bindings found for serviceIdentifier: Weapon`...

I just resolved a very nasty bug I had in my app, which could have been prevented if inversify had a warning about this use case. I basically had a...

## Expected Behavior There should not be any error occurred when `@targetName` be used at constructor ## Current Behavior ` constructor(@inject("IService") @targetName("queueService") ticketQueue: IService) { }` `error TS1239: Unable to...

"TypeScript's constructor assignments" as stated [here](https://github.com/inversify/InversifyJS/blob/7619dd4395516fa53f435d08f30cead349901be8/wiki/constructor_injection.md?plain=1#L37-L38) is not working. ## Expected Behavior No errors are thrown. ## Current Behavior Throws `Error: Missing required @inject or @multiInject annotation in: argument 0...

## Description ## Related Issue ## Motivation and Context ## How Has This Been Tested? ## Types of changes - [x] Updated docs / Refactor code / Added a tests...

## Description Since it takes a lot of work to adapt the tools/scripts and match dependencies between projects, I think it may be best to migrate just this project and...