InversifyJS
InversifyJS copied to clipboard
A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.
## Expected Behavior Should ensure that InversifyJS works with Node 16 by adding Node 16 to CI. ## Current Behavior No CI for Node 16 yet. ## Possible Solution Add...
I'm trying to use constructor injection with React. I'm using "**customize-cra**" and "**react-app-rewire**" to add babel plugins. - https://github.com/arackaf/customize-cra - https://github.com/timarney/react-app-rewired I added "**@babel/plugin-proposal-decorators**" in legacy mode and "**babel-plugin-parameter-decorator**". -...
I am writing learning React and I wanted to use it inversifyjs as I have been using it for other projects. I have seen that in order to use it...
I am writing a react app and I have a nested @lazyInject that is not working. I am trying to use inversify to inject my components as well as other...
Unable to lazily inject circular service dependency via _property_ injection. Side-note: Identifer -> Identifier ## Expected Behavior Inject without error ## Current Behavior throws error ## Steps to Reproduce (for...
[This question is related with ](https://github.com/inversify/InversifyJS/issues/866) The solution provided there doesn't work in this case, a solution is proposed but don't work `import { decorate, injectable } from 'inversify' decorate(injectable(),...
Make toDynamicValue binding able to injects its dependencies, to ensure its dependencies are resolved in **same scope**. Motivation ----------- I'm trying to implements a context logger. ```typescript container.bind('ContextID') .toDynamicValue(()=> uuid())...
## Refers to: #411 ## Expected Behavior Default configuration as @default possible so that resolving dependencies is still possible. ## Current Behavior No default configuration with resolving dependencies possible. ##...
I wanted to add dependency injections to a project that didn't need tslib, after adding inversify (and reflect-metadata), my dependency injection were working fine until I tried to build the...
Minification issue : Missing required @inject or @multiInject annotation in: argument 0 in class e
Error `Missing required @inject or @multiInject annotation in: argument 0 in class e` after class name has been mangled by a minification plugin (such as TerserPlugin). ## Current Behavior Issue...