As far as NestJS has a proper way of define a Model using
MongooseModule.forFeature([{ name: 'Cat', schema: CatSchema }], 'cats')
How can we defined strongly typed models ?!
Just as we do on regular typescript (Mongoose the Typescript way...?)
As far as NestJS has a proper way of define a Model using
MongooseModule.forFeature([{ name: 'Cat', schema: CatSchema }], 'cats')
How can we defined strongly typed models ?!
Just as we do on regular typescript (Mongoose the Typescript way...?)
you may try to use typegoose for nest js nest/typegoose