NestJS - Database with Prisma
Why is it important to use the
@Schema() decorator instead of plain classes when defining schemas in NestJS?@Schema() decorator instead of plain classes when defining schemas in NestJS?@Schema() decorator adds metadata so NestJS can generate Mongoose schemas from classes.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions