Open vkarpov15 opened 9 months ago
I put up another PR that does this before seeing yours. Apologies. Here's mine: https://github.com/dsanel/mongoose-delete/pull/157
@dsanel would you be open to transferring this project to the mongoosejs GitHub org and handing maintenance over to the Mongoose team? No pressure, this is your project if you want to keep maintaining it, I wanted to ask just in case.
Fix Automattic/mongoose#14338
It looks like this commit: https://github.com/dsanel/mongoose-delete/commit/b8c3cea2321dcd583c78c254d1490b3f72c0c14f made it so that the
restore()
static would unsetdeleted
versus setting it tofalse
, which is backwards breaking for projects that useuse$neOperator: false
.