Question · NestJS course · Module 8: Caching and Performance

@Exclude Decorator in class-transformer

The @Exclude() decorator from class-transformer causes:

Answer options

  • Hiding a field from the JSON response returned to the client
  • Removing a column from the database
  • Compressing the field value
  • Validating the field on input

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