The "this" object is empty in pre('save')
<p>As I described in the title when I want to save a new mongoose document the <code>pre('save')</code> method fires, but the <code>this</code> element in it is an emtpty object.</p>

<p>The test snippet:</p>

<pre><code>var schema = new mongoose.Schema({
    password:String
})

schema.pre('save',(next)=&gt;{
    console.log(this)
    next()
})

var model = mongoose.model('Test',schema)

var test = new model({
    password:'testpass'
})

test.save()
</code></pre>

<p>I cant see the problem with this basic code.</p>

<p>I am using Mongoose v4.5.9.</p>