Put in order · NestJS course · Module 10: Data Validation

Nested Validation Depth

Arrange the nested validation levels from outermost to innermost:

Items to put in order

  • Validation of CreateLegioDto (legion)
  • Validation of WeaponDto (soldier's weapon)
  • Validation of SoldierDto (soldier in cohort)
  • Validation of CohortDto (cohort)

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