liaoliaots/nestjs-redis

Can't resolve decorator InjectRedis

newmizanur opened this issue · 2 comments

Current behaviour

Error: Nest can't resolve dependencies
NestJS version: 7.6

Input Code

import { Redis } from 'ioredis';
import { InjectRedis } from '@liaoliaots/nestjs-redis';

constructor(@InjectRedis('cache') private readonly clientCache: Redis) 

Could you provide a minimal repository, please?
✿◡‿◡

My bad, I import it at the wrong place(Core Module). Working fine. ty!