Count method does not support paranoid option - please update code and patch?
The line here should be changed https://github.com/euqen/mongoose-paranoid-plugin/blob/master/index.js#L19 to have prepend method !== 'count' && since count method does not support options argument per the docs at https://mongoosejs.com/docs/api.html#model_Model.count. I suggest to implement a workaround for count somehow.
@niftylettuce thank you for reporting this issue. I'll make this changes as soon I have time for that. Or you can create pull request with changes that you purposed.
Thanks
@euqen would gladly donate if you could get this fixed!
@niftylettuce hey. sorry for long fix, I will spend time and fix this ASAP
@euqen can you fix? cheers 🙏 🙇