InversifyJS
InversifyJS copied to clipboard
A powerful and lightweight inversion of control container for JavaScript & Node.js apps powered by TypeScript.
The new version 6.0.1 has exposing the following error: 'injectable()' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write...
This is a _call to arms_ for anyone who might be interested in helping `inversify` and `inversify-packages` get up to date and bug-free. We are currently overwhelmed and limited to...
Hi. When I try to send a file, I receive virtually nothing on the client side. The code for sending is pretty simple: @httpGet("/:resid/:attachment/download") public downloadFile(@response() resp: Response, @requestParam("resid") resid:...
When using `inversify-express-utils`, the decorator @queryParam does not handle types correctly. The type of the parameter is always `string` for primitives types. ```js @httpGet("/test") public test(@queryParam("count") count: number, @request() req,...
Running `webpack serve` throws this error. I tried to add that module to babel-loader, ``` { test: /\.(ts|tsx)?$/, include: [ paths.appSrc, path.resolve(paths.appNodeModules, 'mana-syringe'), path.resolve(paths.appNodeModules, 'inversify') ], .... } ``` so...
It seems that there is no way to properly use @provide with multi-injection. It seems related to this issue: https://github.com/inversify/InversifyJS/issues/1238 ## Expected Behavior Multiple classes decorated with `@provide(Command)` should be...
## Summary: I'm currently using request scopes on my project and I'd like to start using the decorators, but it seems there is no support for request scope in the...
We now support `inRequestScope` but we need to add support to the `inversify-binding-decorators` libs. The work should be done in [provide_in_syntax.ts](https://github.com/inversify/inversify-binding-decorators/blob/master/src/syntax/provide_in_syntax.ts#L8).
Inversify decorators don't work with Babel, maybe because of different specification: ## Possible Solution Here's an example of working with Babel decorator, I suppose it works because it returns the...
Bumps [log4js](https://github.com/log4js-node/log4js-node) from 6.3.0 to 6.4.1. Changelog Sourced from log4js's changelog. 6.4.1 bug: Fixed to startup multiprocess even when no direct appenders - thanks @nicojs refactor: fixed eslint warnings -...