NestJS - Database with TypeORM
Consider this custom repository definition in NestJS:
What is the main issue with this code in the context of recent TypeORM and NestJS versions?
@EntityRepository(Product) export class ProductRepository extends Repository{ findAvailable() { return this.find({ where: { available: true } }); } }
What is the main issue with this code in the context of recent TypeORM and NestJS versions?
