NestJS - Interceptors
You want to customize the cache key for a route in NestJS using CacheInterceptor. Which approach correctly achieves this?
trackBy method to define how keys are generated.@UseInterceptors() is invalid. Setting keys in constructor or using @CacheKey decorator does not exist in NestJS.trackBy method to return a custom key -> Option A15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions