Open unckleg opened 5 years ago
Deep populate won't work for mongoose ref virtuals.
BandSchema.virtual('members', { ref: 'Person', localField: 'name', foreignField: 'band', justOne: false })
Do we have any update on this? This would be a great addition to the plugin
Deep populate won't work for mongoose ref virtuals.
BandSchema.virtual('members', { ref: 'Person', localField: 'name', foreignField: 'band', justOne: false })