NestJS - Interceptors
Given this code snippet, what will be the output on the second request to
/hello?
import { Controller, Get, UseInterceptors } from '@nestjs/common';
import { CacheInterceptor } from '@nestjs/cache-manager';
@Controller()
export class HelloController {
private count = 0;
@UseInterceptors(CacheInterceptor)
@Get('hello')
getHello() {
this.count++;
return `Hello count: ${this.count}`;
}
}