ERROR [ExceptionHandler] nest cant resolve dependencies of the MongooseCoreModule (MongooseConnectionName, ?)
app.module.ts
:
NestJS schema validation of nested objects
I have a dto file that looks something like this:
Update nested subdocument with Mongoose and Nestjs
I’m pretty new to MongoDB, Mongoose, etc. etc. I’m trying to update a subdocument without success. The endpoint runs without error, but the data is not updated… I want to update the card.description
. Here’s my code: