title: Inheritance in mongoose
body: <p>Hello I need to inherit my schemas in mongoose library. Are there complete plugins for that? Or how should I do that myself?</p>
  
  <p>I need to inherit all pre, post, init middleware from a Base schema also.</p>