Closed vinczedani closed 6 years ago
Hi @vinczedani
Thanks a lot for taking the time to contribute and raise a PR :)
I had a look at it and I have some suggestions before I can merge this in! I hope you can do them but if not, let me know and I can also do some of them,
Cheers!
I think I fixed the changes you requested. I agree that this change is just a minor update, since it doesn't break the current interface.
This pr should add the missing hook for findOneAndUpdate since it is a native mongodb call, mongoose has different calls for that and update. It should also add a feature to work with $set and without $set. Closes #14