MCPcopy Index your code
hub / github.com/ParallelTask/dinoloop / ChildController

Class ChildController

tests/integration/controller.inheritance.spec.ts:149–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147class BaseController extends ApiController { }
148
149@Controller('/child', {
150 use: [
151 (req, res, next) => {
152 res.locals.data.push(`${useMiddlewareOneTxt}`);
153 next();
154 }
155 ],
156 middlewares: [MiddlewareOneAsync],
157 filters: [ActionFilterOne],
158 result: [ResultFilterOne]
159})
160class ChildController extends BaseController {
161 @HttpGet('/get')
162 get(): string {
163 return testResponse;
164 }
165}
166
167@Controller('', {
168 use: [(req, res, next) => {

Callers

nothing calls this directly

Calls 3

ControllerFunction · 0.85
HttpGetFunction · 0.85
nextFunction · 0.50

Tested by

no test coverage detected