Closed stefanosandes closed 5 years ago
Is there any way to inject the client from contructor, intead calling getClient()?
getClient()
Somenthing like constructor(@InjectClient() redis: Redis).
constructor(@InjectClient() redis: Redis)
You can inject RedisService
That is... not an answer to the question. So is there a way to inject client?
Is there any way to inject the client from contructor, intead calling
getClient()
?Somenthing like
constructor(@InjectClient() redis: Redis)
.