/
githubmirror
/
nest
Обзор
Документация
Войти
/
githubmirror
/
nest
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
integration/scopes/src/durable/durable.module.ts
19 строк
512 B
DylanVeldra
fix(core): merge req context with tenant payload in the request instance
18 авг 2024, 18:11
18 авг 2024, 18:11
6dba4de
Код
Авторство
О чём код?
import { Module } from '@nestjs/common'; import { APP_GUARD } from '@nestjs/core'; import { DurableController } from './durable.controller'; import { DurableGuard } from './durable.guard'; import { DurableService } from './durable.service'; import { NonDurableService } from './non-durable.service'; @Module({ controllers: [DurableController], providers: [ DurableService, NonDurableService, { provide: APP_GUARD, useClass: DurableGuard, }, ], }) export class DurableModule {}