node-dependency-injection icon indicating copy to clipboard operation
node-dependency-injection copied to clipboard

The NodeDependencyInjection component allows you to standarize and centralize the way objects are constructed in your application.

Results 11 node-dependency-injection issues
Sort by recently updated
recently updated
newest added

Have small educational example for initial exploration of DI. ```js import * as path from 'path'; import { fileURLToPath } from 'url'; import { ContainerBuilder, YamlFileLoader } from 'node-dependency-injection'; console.log('Hello,...

Refactor and add the possibility to add more verbosity when building ContainerBuilder

feature
security

Refactor and rewrite all classes and functionalities using TypeScript

refactor

* Add XML file loader configuration * Add XML dump services file when autowiring * Add XML schema

feature

Bind keyword to bind specific arguments by name or type: or in pure js or typescript ```ts const compiler = new ContainerBuilder(false, '../path/to/src') compiler.addBind('adminEmail', '[email protected]') compiler.addBind('someParameter', process.env.SOME_PARAMETER) const autowire =...

feature

Hi it seems that in order to fix indirect critical issue in deps, there is a need to update `@babel/plugin-transform-runtime` to `@babel/[email protected]` ([source](https://github.com/zazoomauro/node-dependency-injection/blob/89271c42f4a4355c6c3040792ef83952d68867ef/package.json#L55C5-L55C51)) ```` @babel/traverse

dependencies

Hey, don't know if this was by mistake, but the Compiler is swallowing all Errors other than RangeError, took me a while to debug this. ```JavaScript async run () {...

bug

First off, great project, love the autowire feature. I had some trouble with the static import of `typescript-eslint`, which in turn imports `typescript`, but does not explicitly state a dependency...

At the moment, Autowiring only works with private constructor properties. Make it working with the following examples: ```typescript interface TestInterface { } class ExampleClass { constructor(protected readonly parameter: TestInterface) {...

enhancement

We are trying to run our project with node-dependency-injection and Vitest. Our tests fails once we need to load yaml files when we start the application to run e2e tests....