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

I don't think it works anymore, and it's repo is archived, so it's not maintained, I think it should be removed from the documentation ``` [back-end] /Users/nqy642/IdeaProjects/exceptionsone/node_modules/inversify-tracer/build/proxy-listener.js:31 [back-end] properties.forEach((propertyName) =>...

Consider this setup: ```ts container.bind(TYPES.Config).toConstantValue(a).whenParentNamed('a') container.bind(TYPES.Config).toConstantValue(b).whenParentNamed('b') container.bind(TYPES.Config).toConstantValue(c).whenParentNamed('c') container.bind(TYPES.Runner).to(Runner).inRequestScope() ``` I can get all configs by ```ts const configs = container.getAll(TYPES.Config) // all configs returned ``` Also, I can get one...

@lazyInject is not reached ## Expected Behavior I mark some property with `@lazyInject`. Then I use it like `this.somproperty` and get an instance of required class from container. ## Current...

@lazyInject relies on instrumenting class prototype and prototype bubble mechanism. For now in TS >= 3.7 any of decorators from [inversify-inject-decorators](https://github.com/inversify/inversify-inject-decorators) don't work ## Why worked earliar 1. `@lazyInject*` instruments...

## Expected Behavior ``` class StartupCallback {} ``` If I have container that contains 0 bindings of class StartupCallback and I do `getAll` I get empty array. ## Current Behavior...

- upgrade dev dependencies - make main build command faster by parallelizing the work across formats ## Description ## Related Issue ## Motivation and Context ## How Has This Been...

## Description Currently the @optional tag overrides class properties defined with typescript-style default values: ```typescript @injectable() class Ninja { @inject(Weapon) @optional() weapon: Weapon = new Katana(); .... } ``` this...

Currently the @optional tag overrides class properties defined with typescript-style default values: ```ts @injectable() class Ninja { @inject(Weapon) @optional() weapon: Weapon = new Katana(); .... } ``` this currently sets...

Hi everyone, hi @dcavanagh. Is this project still under maintenance? Last commit was almost a year ago and there are issues and PRs that have been opened without any answer....

discussion

I have a dependency diagram as such in my application. I want to use the `containerModule` api of [inversify][1] to load my dependencies. [![enter image description here][1]][1] [1]: https://i.stack.imgur.com/CCKO9m.png The...