Closed lichnow closed 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. '
@skunight @lichnow what were you doing wrong? I'm doing it too.
How can I use the redis instance in sub-module when the RedisModule is registered in AppModule ?
RedisModule
AppModule
@AkatQuas you have to register it in both afaik.
'Nest can't resolve dependencies of the MyService (?). Please make sure that the argument at index [0] is available in the CommonModule context. '