Szymon Kumorowski
Szymon Kumorowski
Is it possible to inject custom logger into nest components ?
Hello, Is it possible to set custom properties into additional decorated parameters in controller ? Example: @Get() async findAll(@Principal() principal:Principal) { } Where principal will be built with factory based...
`TypeError: Cannot set property 'oAuthServer' of undefined` `@Component() export class OAuth2Server implements OnModuleInit ` `@Middleware() export class OAuth2Middleware implements NestMiddleware { private logger: Logger = LoggerFactory.getLogger(this.constructor.name); constructor(@Inject('OAuth2Server') private readonly oAuthServer:...
What is a right way of implementing the e2e tests ? In current solution I test database in mysql server - this allow me to test exactly the same state...
I went through documentation and issues. How to make raw query with parameters ? driver: mysql `this.repository.query(`SELECT * FROM table_name where ID = $1`, [1]);` `this.repository.query(`SELECT * FROM table_name where...
How is possible to use values different than primary keys with IN clause ? `const values= [1,2,3]; repository.createQueryBuilder("entity") .andWhere(() => "entity.otherField IN (:values)", {values})`
Would be great to have possiblity to disable this error, as the execute migrations in order is not always required ` if (lastTimeExecutedMigration && migration.timestamp < lastTimeExecutedMigration.timestamp) throw new Error(New...
**Issue type:** [ ] question [ X] bug report [ ] feature request [ ] documentation issue **Database system/driver:** [ ] `cordova` [ ] `mongodb` [ ] `mssql` [ X]...
**Issue type:** [ ] question [ ] bug report [X] feature request [ ] documentation issue Let say we have few services, where all of them provide specific functionalities. I...
Hi, Actually I don't see any information about licence - could you include it in the repository or write information about it ?