cabe601 introduced support for recording events in the memory. The length of the array used to record the events should be configured using the ConfigService. However, if you try to inject the service as a constructor parameter, Nest screams:
[Nest] 14328 - 21/06/2022, 12:51:29 ERROR [ExceptionHandler] Nest can't resolve dependencies of the TDLifeCycleEventRepository (?). Please make sure that the argument dependency at index [0] is available in the PersistenceModule context.
Potential solutions:
- If dependency is a provider, is it part of the current PersistenceModule?
- If dependency is exported from a separate @Module, is that module imported within PersistenceModule?
@Module({
imports: [ /* the Module containing dependency */ ]
})
cabe601 introduced support for recording events in the memory. The length of the array used to record the events should be configured using the
ConfigService
. However, if you try to inject the service as a constructor parameter, Nest screams:Notice that I checked for imports: