I have:
M = require "mongoose"
P = require "bluebird"
M.Promise = P
I see that bluebird is set into the Promise property defined in index.js.
But when, say, mode.create(...) is invoked it does new Promise() which returns an mpromise instance (model.js:1603)
What am I missing? Should Model.create be using PromiseProvider.get ?