mongoose-slug-plugin
mongoose-slug-plugin copied to clipboard
Support common paranoid libraries
e.g. https://github.com/euqen/mongoose-paranoid-plugin/issues/6
I saw an issue today related to mongoose-delete
If there is a unique key on the slug, and the most recent record with the desired slug was deleted, there is a conflict.
Workaround is to update the slug before deleting to insure uniqueness.