issues
search
mongoosejs
/
mongoose-lean-virtuals
Attach virtuals to the results of mongoose lean() queries
Apache License 2.0
45
stars
24
forks
source link
fix: transform return for array response
#14
Closed
artemkobets
closed
6 years ago
artemkobets
commented
6 years ago
12 introduced a bug in which attachVirtuals() was returning response after first
for
iteration for document arrays, which resulted in only first document getting populated.
nicolas-marien
commented
6 years ago
😱 sorry about that...
12 introduced a bug in which attachVirtuals() was returning response after first
for
iteration for document arrays, which resulted in only first document getting populated.