How to import the same redis connection (just switching the database) in different modules of nestjs?
I am trying to implement a @nestjs/typeorm
like module in nestjs for redis
(for learning and experimenting). I have created a module which connects to a redis
instance.