Mongoose 6.1.9 released:
🛠️ Respect nested schema strict as default when casting query filters
🛠️ Make isValidObjectId() consistent with isValid(), make ObjectId() casting more flexible
github.com/Automattic/mongoo…#NodeJS#MongoDB#JavaScript
We're always amazed at how geographically distributed Mongoose contributors are.
In v6.1.6, we accepted contributions from developers in:
🇩🇪 Germany
🇪🇬 Egypt
🇱🇰 Sri Lanka
🇲🇪 Montenegro
🇧🇷 Brazil
🇪🇸 Spain
🇮🇳 India
#JavaScript#MongoDB#NodeJS
Although you can `await` on a Mongoose query without calling `exec()`, we still recommend calling `exec()` for cleaner stack traces.
If you use `exec()`, you at least get the line number you called `find()` on if there's a CastError.
#JavaScript#MongoDB#NodeJS