Remo H. Jansen

Results 12 issues of Remo H. Jansen

I'm working on a SaaS solution, and the users are allowed to create workspaces. Each workspace uses several CosmosDB containers pre-fixed with the workspace ID: ``` apiVersion: dapr.io/v1alpha1 kind: Component...

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).

enhancement
Accepting PRs
Your first PR

Investigate `@preDestroy` see https://github.com/inversify/InversifyJS/issues/587#issuecomment-311881952 for more info...

enhancement
discussion

Suggested by @akosyakov in the chat: > ```ts class Foo { @inject(Bar) set bar(bar: Bar) { this.bar.onChanged(() => this.update()); } } ``` > I understood that i can do it...

Suggestion

### Environment information ```block CLI: Version: 1.3.3 Color support: true Platform: CPU Architecture: aarch64 OS: macos Environment: BIOME_LOG_DIR: unset NO_COLOR: unset TERM: "xterm-256color" JS_RUNTIME_VERSION: "v21.1.0" JS_RUNTIME_NAME: "node" NODE_PACKAGE_MANAGER: unset Biome...

L-JavaScript
S-Bug-confirmed

Moved here from https://github.com/inversify/inversify-express-utils/issues/155 --------- i've got this endpoint: ```typescript @httpGet('/') async getTheThing(@response() res: Response) { try { const fileStream = await this.storage.getTheThing(); res.setHeader('content-type', 'application/tar'); fileStream.pipe(res); } catch (error) {...

Imported from https://github.com/inversify/inversify-express-utils/issues/201 > I've noticed that controllers are automatically registered to global scope when they are imported. A cleaner way would be to allow each package to export its...

Hi, First, thanks for all the work. I have been trying to use the [`CustomAuthProvider `](https://github.com/inversify/inversify-express-utils/tree/master?tab=readme-ov-file#authprovider) and I'm having some problems. The first problem is in methods in controllers that...

I'm trying to inject a database connection `inRequestScope` using `toDynamicValue`: ```ts bind(DbClientSymbol) .toDynamicValue(async (context) => { const databaseConnectionManager = context.container.get( DatabaseConnectionManagerSymbol, ); return await databaseConnectionManager.getDbClient(); }) .inRequestScope(); ``` Being able...

We can document examples to implement a middleware that uses the `HttpContext` to validate if an user has access to certan feature: ```ts @controller( "/foo", authorize({ feature: FEATURE.SOME_FEATURE_FLAG }), )...