skunight / nestjs-redis

nestjs redis module
MIT License
321 stars 173 forks source link

Inject client from constructor #14

Closed stefanosandes closed 5 years ago

stefanosandes commented 5 years ago

Is there any way to inject the client from contructor, intead calling getClient()?

Somenthing like constructor(@InjectClient() redis: Redis).

skunight commented 5 years ago

You can inject RedisService

nick4fake commented 2 years ago

That is... not an answer to the question. So is there a way to inject client?