Standard static-class factory. The token of this factory is a reference to a static class that is instantiated when the factory produces.
Dependency keys are inferred from injection metadata on the constructor's params, as are the injected properties.
class A { constructor( protected readonly myService: MyService ) { } } const fact = new Factory(A) fact.produce([myServiceInstance], []) // => A { myService: myServiceInstance }
extollo (v. latin) - to lift up, to elevate
Extollo is a free & libre application framework in TypeScript.
Standard static-class factory. The token of this factory is a reference to a static class that is instantiated when the factory produces.
Dependency keys are inferred from injection metadata on the constructor's params, as are the injected properties.