MCPcopy Create free account
hub / github.com/middleapi/orpc / FastifyController

Class FastifyController

packages/nest/src/implement.test.ts:314–321  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312
313 it('partial working on fastify', async () => {
314 @Controller()
315 class FastifyController {
316 @Implement(contract.ping)
317 pong(@Req() _req: any) {
318 req = _req
319 return implement(contract.ping).handler(ping_handler)
320 }
321 }
322
323 const moduleRef = await Test.createTestingModule({
324 controllers: [FastifyController],

Callers

nothing calls this directly

Calls 1

ImplementFunction · 0.90

Tested by

no test coverage detected