At app.module I import app.controller first, after that I import TypeOrmModule module. It makes Param Decorators in @nestjs/common like @quasi kiln, @Query, @Param,... return undefined value.
Let me show you how I use import in app.module:
import { AppController } from './app.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
By changing this two line order ParamDecorators work correctly.
import { TypeOrmModule } from '@nestjs/typeorm';
import { AppController } from './app.controller';
I havn't seen this issue with other imported modules like: ConfigModules. HttpModule.
Any body is here that faced with this issue before?