skunight / nestjs-redis

nestjs redis module
MIT License
321 stars 173 forks source link

can't resolve dependencies of the RedisService #16

Closed lichnow closed 5 years ago

lichnow commented 5 years ago

'Nest can't resolve dependencies of the MyService (?). Please make sure that the argument at index [0] is available in the CommonModule context. '

sebastiangug commented 5 years ago

@skunight @lichnow what were you doing wrong? I'm doing it too.

AkatQuas commented 4 years ago

How can I use the redis instance in sub-module when the RedisModule is registered in AppModule ?

sebastiangug commented 4 years ago

@AkatQuas you have to register it in both afaik.