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

Building the @Matches Decorator

Arrange the elements of the @Matches decorator in the correct order:

Items to click

  • )
  • , { message: 'Niepoprawny format' }
  • /^LEG-[A-Z]{3}-\d{4}$/
  • @Matches(

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