Skip to content
This repository was archived by the owner on Nov 10, 2025. It is now read-only.

Conversation

@rerthal
Copy link
Contributor

@rerthal rerthal commented Sep 3, 2015

When you have the following schema:

{
  list: [{
    'type' : Schema.Types.ObjectId,
    'ref' : 'Model',
    'autopopulate' : true
  }]
}

The autopopulate wasn`t working.

vkarpov15 added a commit that referenced this pull request Sep 3, 2015
Fixing autopopulate for arrays of object ids.
@vkarpov15 vkarpov15 merged commit 1892253 into mongodb-js:master Sep 3, 2015
vkarpov15 added a commit that referenced this pull request Sep 3, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants