Closed devdoomari3 closed 6 years ago
add mongoose 5 compatibility:
mongoose 5 does not have "next" function on hooks while mongoose 4 requires "next" function on hooks.
The solution is adding a 'fake' "next" function for mongoose5 for mongoose 4-5 compatibility.
Coverage decreased (-2.6%) to 95.098% when pulling 7484d8490925830b37054a8d755a691872573636 on devdoomari3:add-mongoose-4-5-compatibility into 677279e96529c75cceaecb7d9f8c8faac55300fd on victorparmar:master.
Hi @devdoomari3
Thanks a lot for this PR, really appreciate it :)
I have merged this in and published a new release v1.1.0, cheers!
add mongoose 5 compatibility:
mongoose 5 does not have "next" function on hooks while mongoose 4 requires "next" function on hooks.
The solution is adding a 'fake' "next" function for mongoose5 for mongoose 4-5 compatibility.