at first, thanks for your open source code, We update the data using the updateOne method. Unique validation did not work at this time. Looking at the reasons, we found that the update method works, but not in updateOne. So I added updateOne hook. Please take a look.
at first, thanks for your open source code, We update the data using the updateOne method. Unique validation did not work at this time. Looking at the reasons, we found that the update method works, but not in updateOne. So I added updateOne hook. Please take a look.