mongostate icon indicating copy to clipboard operation
mongostate copied to clipboard

Other ODM support

Open zaaack opened this issue 8 years ago • 2 comments

This module is awesome, but it has a high coupling with mongoose.

Here are some suggestions:

  1. Extract ODM abstract layer to let users write other ODM's adapter.
  2. Extract lock abstract layer to using different lock implementation like fs lock, redis lock, etc.
  3. Transaction could add a timeout for auto rollback after crash.
  4. async/await support
  5. ...

zaaack avatar Jan 20 '17 02:01 zaaack

@zaaack All above suggestions will be considered! I'll work on it later after my works in company come to a end. :)

miserylee avatar Jan 20 '17 02:01 miserylee

@miserylee Thanks!

zaaack avatar Jan 20 '17 02:01 zaaack