/
githubmirror
/
nest
Обзор
Документация
Войти
/
githubmirror
/
nest
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
integration/inspector/src/request-chain/request-chain.controller.ts
14 строк
438 B
Kamil Myśliwiec
test: add inspector e2e tests, add deterministic uuid registry
29 ноя 2022, 11:56
Не верифицирован
29 ноя 2022, 11:56
95e8394
Код
Авторство
О чём код?
import { Controller, Get, UseInterceptors } from '@nestjs/common'; import { LoggingInterceptor } from './interceptors/logging.interceptor'; import { RequestChainService } from './request-chain.service'; @Controller('hello') export class RequestChainController { constructor(private readonly chainService: RequestChainService) {} @UseInterceptors(LoggingInterceptor) @Get() greeting(): void { this.chainService.call(); } }