-
The [tsyringe](https://www.npmjs.com/package/tsyringe) package - a popular dependency injection framework - uses class (e.g. `@injectable`) and constructor parameter (e.g. `@inject`) decorators. Can `…
-
Why is the **injectWithTransform** method not working, if another class using **inject** method, and I change my code like this, then it is working fine, what is the problem anyone can help me ?, plea…
-
## Summary
外部へのHTTPリクエストとかジョブキューの状態とか気にしないでテスト書けるようにしたい
InversifyJSとかのDIライブラリ使う or NestJSで書き直す
-
Type: Bug
Recently added tsconfig-path, tsyringe, typeorm to the project.
VS Code version: Code 1.70.0 (da76f93349a72022ca4670c1b84860304616aaa2, 2022-08-04T04:38:16.462Z)
OS version: Windows…
xing5 updated
2 years ago
-
## Problem
I did a lot of research on how to inject the prisma client and I didn't find it, neither to use in my repositories nor in unit tests of my repositories.
## Suggested solution
I dev…
-
-
We currently instantiate all components manually and sometimes directly in constructor.
This prevents easy testing and make extensions hard to manage.
To check:
- https://github.com/inversify/Inv…
-
## Description
### Steps to recreation
1. Run `deno install -A -n version-bump --no-check https://deno.land/x/version_bump@0.2.0/cli.ts`.
2. Attempt to run it with `version-bump --firstRelease`…
-
There are 3 possible scopes for a Provider":
- perRequest (default) - it's clear
- asSingleton - it's clear
- asScoped - not clear what scope it is. For example if we will look into https://gith…
-
### Environment
rc3
### Reproduction
n/a
### Describe the bug
In https://github.com/unjs/nitro/pull/212 you have asked me, when these unhandledRejection errors occur. Here are two instances:
`…