Поиск мангуста удаляет другие поля

#mongoose

#мангуст

Вопрос:

У меня есть такая коллекция

 {  field1 : String,  subdocuments:[  reference: {  type: mongoose.Schema.Types.ObjectId,  ref: "anotherCollection",  },  field2 : String  ] }  

Когда я делаю $lookup subdocuments.reference что-то подобное

 $lookup: {  from: "anotherCollection",  localField: "subdocuments.reference",  foreignField: "_id",  as: "subdocuments.lookupData",  },  

я field2 исчезаю из ответа, поэтому мой конечный subdocuments объект содержит только lookupData поле