mongodb-js / mongoose-autopopulate

Always populate() certain fields in your mongoose schemas
Apache License 2.0
221 stars 36 forks source link

Tests failing with mongoose 6.2.4 #94

Closed garylesueur closed 2 years ago

garylesueur commented 2 years ago

Been upgrading our project and noticed autopopulate stopped working for us when populating after save.

Have just pulled this repo and ran the tests using mongoose 6.2.4. MongoDB is 5.0.6

Tests are failing like so. Am digging in but not quite sure what's going on

CleanShot 2022-03-06 at 21 22 04@2x
leaveswoods commented 2 years ago

Same issue here, not really from 6.2.4, the autopuplate has issues started from 6.1.0, https://github.com/Automattic/mongoose/releases/tag/6.1.0

I have downgraded to 6.0.15, which still works.

vkarpov15 commented 2 years ago

Fix is in v0.16.1 :+1: