container-ioc icon indicating copy to clipboard operation
container-ioc copied to clipboard

Inversion of Control container & Dependency Injection for Javascript and Node.js apps powered by Typescript.

Results 12 container-ioc issues
Sort by recently updated
recently updated
newest added

It looks like the container crashes with a stack-overflow when a cyclic dependancy has been configured. ``` internal/console/constructor.js:241, if (isStackOverflowError(e)), ^ RangeError: Maximum call stack size exceeded, at Object.Console. (internal/console/constructor.js:241:9),...

The idea is to add ability of injecting stuff asynchronously. The syntax example: ``` { token: 'IConfig', useFactory: async (service: any) => { const something = await.service.getSomething(); return something; },...

feature
help wanted

I've been thinking about creating additional api for maintaining hierarchical containers through Modules. The philosophy is similar to the ones used in angular and Nest.js. Motivation. Encapsulating related services and...

feature
help wanted
question
new-contributors

Hello, If I want to register a value of 0/null/false/empty string, it won't get resolved and it will fail. Ex: `container.register({ token: 'foo', useValue: 0 })`; `container.resolve('foo')` fails The problem...

Fixes https://github.com/typesoft/container-ioc/issues/102

Implementing this feature is a great way to learn Reflect API and Typescript decorators. I've provided link to a great article on this topic. [Typescript Decorators and Reflect API](http://blog.wolksoftware.com/decorators-metadata-reflection-in-typescript-from-novice-to-expert-part-4) *...

help wanted
new-contributors

That would be helpful. Gtibook or something. If you got some ideas put them here. Let's discuss

help wanted

I messed up interfaces for registered providers within Containers. They can't even be exported.

help wanted

Make the library work in ES5 projects.

help wanted