Fetch a set of referenced objects into an array
<p>How can I fetch a set of referenced objects into an array, without having to overly use async tasks? For an example, </p>

<pre><code>var UserSchema = new mongoose.Schema({
    username: {
        type: String,
        unique: true,
        required: true
    },
    accessRights: [{
        role: {
            type: mongoose.Schema.Types.ObjectId,
            ref: 'Role',
            required: true
        },
        account: {
            type: mongoose.Schema.Types.ObjectId,
            ref: 'Account'
        }
    }]
};
</code></pre>

<p>How can I fetch and initialize an array of accessRights without async waterfall? Because this looks like spaghetti code in this case where I have a set of references within one object.</p>