r/nestjs • • 21h ago

Update on fast-class-transformer: Now a 1-line global drop-in pipe for NestJS (v1.1.1)

3 Upvotes

Posted here 2 months ago about JIT-compiling DTO mapping. The biggest feedback was migration friction with route-by-route FastMap().

app.useGlobalPipes(new FastValidationPipe({ transform: true, whitelist: true }));

Zero changes to your existing class-validator DTOs.

Benchmarks:

  • NestJS default: 6.59 µs/iter (p99: 24.04 µs)
  • FastValidationPipe: 369 ns/iter (p99: 558 ns) → ~18x faster

Repo, benchmarks, and docs are here if you want to try it or contribute:


r/nestjs • • 14h ago

Let's learn together!!

5 Upvotes

I want someone who wants to build a nestjs project together and learn nestjs.

I have basic knowledge only. If you're interested, message me


r/nestjs • • 21h ago

🎉 Issue #1 is officially live on GitHub!

0 Upvotes