Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

293
Vistas
What is the difference between "enableImplicitConversion" and "transform" in NestJS

I'm wonder what a difference between

transform: true

And

 transformOptions: {
      enableImplicitConversion: true,
    }

From documentation I don't quite understand which I must to use for what cases.

https://docs.nestjs.com/techniques/validation https://github.com/typestack/class-transformer

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

transform means that the ValidationPipe will return the new class instance at the end of the pipe call. This has no effect on the validations ran, as plainToClass will be called regardless so that validate can run against the class.

enableImplicitConversion will tell class-transformer that if it sees a primitive that is currently a string (like a boolean or a number) to assume it should be the primitive type instead and transform it, even though @Type(() => Number) or @Type(() => Boolean) isn't used.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda