-
### What version of Bun is running?
1.0.0+822a00c4d508b54f650933a73ca5f4a3af9a7983
### What platform is your computer?
Linux 6.2.0-32-generic x86_64 x86_64
### What steps can reproduce the bug?
-…
-
Hello there,
i migrated the project from tsyringe, and it works perfectly fine.
When running vitest following occurs when i try to mock a dependency, which is normally injected in the constructor:…
-
**Is your feature request related to a problem? Please describe.**
I need to install `reflect-metadata` even when if `emitDecoratorMetadata` not used.
**Description**
In some cases `emitDecorator…
-
Not sure if this is still maintained. Last activity seems to be from last year.
Just in case anyone is looking for an active fork (not an alternative)
Check out: https://github.com/risen228/tsyrin…
-
Support https://github.com/microsoft/tsyringe as alternative DI container
-
**Describe the bug**
When I try to resolve a service using the class I get the error `Error: TypeInfo not known for "Service1"`
**To Reproduce**
I tried making a minimal Typescript project …
-
# Prisma with dependency injection
I found a way to use prism with tsyringe and using repository pattern:
## 1. configuring the prism with tsyringe:
### Create a new folder inside the ./src
…
-
Two options:
- tsyringe .dispose: https://github.com/microsoft/tsyringe#disposable-instances
- ECMAScript Symbol.dispose: https://github.com/tc39/proposal-explicit-resource-management
-
**Describe the bug**
Trying to build a project with tsyringe driven DI and implementing a WebComponent throws an exception -
Uncaught TypeError: Failed to construct 'HTMLDivElement': Please u…
-
Imagine you have a class X:
```
import { SimpleService } from '@/services/simple-service.ts';
import { injectable } from 'tsyringe';
@injectable()
export class X {
constructor(s: SimpleSer…