These are chat archives for LearnBoost/mongoose

25th
Feb 2015
Hengki Sihombing
@hengkiardo
Feb 25 2015 10:37 UTC
hi @vkarpov15 i really need this one :D https://github.com/vkarpov15/mongoose-autopopulate
hopefully you release that soon
Yann 'Aaunel' Eves-Hollis
@aaunel
Feb 25 2015 11:53 UTC
mongoose-autopopulate looks promising .. anyway, wondering if @vkarpov15 or anyone here might be able to diagnose this CastError I'm running into using population? http://stackoverflow.com/questions/28705810/mongoose-population-casterror-cast-to-objectid-failed-for-value-object-objec
Valeri Karpov
@vkarpov15
Feb 25 2015 23:51 UTC
@aredo I'm impressed that you saw that already - I was working on that yesterday but got sidetracked by some more immediate concerns. Just be careful with using it when it comes out - I'm hesitant to make populating too easy because it encourages some bad design patterns
@aaunel how did you insert these documents with {} as an ObjectId?
Mongoose shouldn't let you do that