Building Type-Safe REST APIs with NestJS and Prisma

How to wire NestJS, Prisma, and class-validator together so TypeScript type errors catch bugs before they reach production.