mongodb-js / mongoose-autopopulate

Always populate() certain fields in your mongoose schemas
Apache License 2.0
222 stars 36 forks source link

Autopopulate not working with findByIdAndDelete #110

Open MinaFayez9 opened 1 year ago

MinaFayez9 commented 1 year ago

Autopopulate not working with "findByIdAndDelete" and hence "findOneAndDelete" I am using the latest version "^1.0.0" and mongoose "^6.10.0" Also tried with version "^0.17.1" I tried it with "findByIdAndUpdate" and "findById" and it's working normally