saintedlama / mongoose-version

Mongoose plugin to save document data versions. Documents are saved to a "versioned" document collection before saving original documents and kept for later use.
BSD 2-Clause "Simplified" License
144 stars 35 forks source link

Collections with custom _id #19

Closed ehmicky closed 7 years ago

ehmicky commented 9 years ago

This plugins assumes the collections use a default _id (of type ObjectId), which breaks when a collection uses a custom _id.