Question · NestJS course · Module 10: Data Validation

DTO in NestJS

What is a DTO (Data Transfer Object) in NestJS?

Answer options

  • A component responsible for rendering views
  • A database storing money transfers
  • A network protocol for data transmission
  • A class describing the shape of input data with validation rules

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