Cache Module doesn't accept store object and uses memory caching instead #10590
Closed
3 of 15 tasks
Labels
needs triage
This issue has not been looked into
Is there an existing issue for this?
Current behavior
When you pass store object to CacheModule, store is ignored and in-memory cache is used instead.
Minimum reproduction code
https://github.com/Leichtwind/nestjs-typescript-starter-9kbyw9
Steps to reproduce
npm ci
npm start
curl localhost:3000
Hello World!
instead ofCached value
Trying to get cache
orTrying to set cache
in consoleExpected behavior
CacheModule uses passed store object
Package
@nestjs/common
@nestjs/core
@nestjs/microservices
@nestjs/platform-express
@nestjs/platform-fastify
@nestjs/platform-socket.io
@nestjs/platform-ws
@nestjs/testing
@nestjs/websockets
Other package
No response
NestJS version
9.2.0
Packages versions
Node.js version
No response
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: