codepunkt / mongoose-patch-history

Mongoose plugin that saves a history of JSON patch operations for all documents belonging to a schema in an associated 'patches' collection
MIT License
96 stars 21 forks source link

Use user supplied mongoose instance for Schema creation #88

Closed vinerich closed 2 years ago

vinerich commented 2 years ago

This enables the user to supply a modified Schema constructor if he wants to. Further this removes the dependency on a specific mongoose version.

See #85