Open
Description
TypeDI was not able to inject sercie container in controller
Here is my code
i've tried all method written in documentation but still get error
Expected behavior
it should inject the dependencies and return json
Actual behavior
TypeError: this.test.getName is not a function
at BaseController.index (file:///E:/private/noidejs/nodets-pack/src/controllers/collection/base.controller.ts:14:28)
at ActionMetadata.callMethod (E:\private\noidejs\nodets-pack\node_modules.pnpm@enjoys+modules@1.1.1_class-transformer@0.5.1_class-validator@0.14.0\node_modules@enjoys\main\metadata\ActionMetadata.ts:252:44)
at E:\private\noidejs\nodets-pack\node_modules.pnpm@enjoys+modules@1.1.1_class-transformer@0.5.1_class-validator@0.14.0\node_modules@enjoys\main\RoutingControllers.ts:123:28
at processTicksAndRejections (node:internal/process/task_queues:95:5)