Realized that most of my complex CRUD operations make use of native MongoDB stuff like $in $pull $nin etc... instead of the Mongoose abstractions... plus Mongoose deprecation warnings have gotten kind of crazy recently (it's built on top of the MongoDB driver) makes me wonder what happens if it goes unmaintained even for a few months?So the question is, when you take away the need for query abstraction, what's left, really, of Mongoose? Model templating which as many point out goes against the idea of NoSQL? Some validation functionality? Auto-ID generation?What has been your experience of the difference between these two modules?Also worth noting that the validation provided by Mongoose is very light and can be replaced with one or two simple if statements on each route.
Submitted September 13, 2018 at 10:51PM by temporarilyembarasse
 
No comments:
Post a Comment