You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @Pho3niX90, according to the document, it appears that the impact is limited to methods. However, for further enhancement, I believe it would be beneficial to extend the support to the controller level as well.
Is there an existing issue for this?
Current behavior
@CacheTTL has no effect, cache still uses default TTL set on module.
Minimum reproduction code
https://stackblitz.com/edit/nestjs-typescript-starter-mjjolw?file=src%2Fapp.controller.ts
Steps to reproduce
No response
Expected behavior
@CacheTTL should override module TTL for the given controller.
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
10.0.0
Packages versions
Node.js version
16.20
In which operating systems have you tested?
Other
The same behaviour happens for latest node and nestjs versions
The text was updated successfully, but these errors were encountered: