Put in order · NestJS course · Module 3: TypeORM and Databases

Repository injection

Arrange the elements of repository injection in the service constructor:

Items to put in order

  • constructor(
  • ) {}
  • @InjectRepository(Legionary)
  • private legionaryRepo: Repository<Legionary>

You can check the correct answer by solving this task in the CodeWorlds game.