-
Is there a way we can add a custom argument to a class constructor? e.g
```
@injectable()
class ExampleClass {}
@injectable()
class MyClass {
constructor(custom: CustomInterface, example: …
-
I'm trying to use constructor injection with React.
I'm using "**customize-cra**" and "**react-app-rewire**" to add babel plugins.
- https://github.com/arackaf/customize-cra
- https://github.com/…
-
## Expected Behavior
I expect to implement unit test and unit tests to pass without errors.
## Current Behavior
I got this error "Decorators cannot be used to decorate parameters" when implem…
-
### Describe the bug
There is an application using InversifyJS (DI container) together with Vite. Inversify heavily depends on decorators. To use decorators, all necessary settings were made and th…
-
I need to implement circular dependency. But workarounds in docs don't work for me.
I used lazyServiceIdentifie LazyServiceIdentifer, lazyInject but there some errors.
For example:
A injects …
-
### Is this a bug report?
Yes
### Did you try recovering your dependencies?
No
### Which terms did you search for in User Guide?
None
### Environment
```bash
Environm…
-
Para uma boa mantenabilidade, o ideal é que o projeto seja separado em camadas com responsabilidades claras, e sem invasão de escopo entre elas.
Uma arquitetura que funciona bem com typescript é a …
-
In the continuing tradition of probably not using Keystone as intended, I've been creating a generic `Messaging` system which expresses notifications, requests, and responses as Keystone models which …
-
```ts
get(
serviceIdentifier: ServiceIdentifier,
defaultValue?: T
): T;
getNamed(
serviceIdentifier: ServiceIdentifier,
named: string|number|symbol,
defaultValue?: T
…
-
### Description
Cannot use TypeDI as explained on the README for basic services.
Obviously, it is written that it only requires the `@Service` on service side (seems legit), but this actually does…