79832815

Date: 2025-11-28 18:27:29
Score: 1
Natty:
Report link

You have to enable transform in ValidationPipe

async function bootstrap() {
  const app = await NestFactory.create(ServerModule);
  app.useGlobalPipes(new ValidationPipe({ transform: true })); // enable transform
  await app.listen(config.PORT);
}
bootstrap();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: TheBlueFriend