mongoose-beautiful-unique-validation
mongoose-beautiful-unique-validation copied to clipboard
Working with mongoose v6
This is rather a question than a bug report. We are planning to migrate mongoose v5 to v6 but we are not 100% sure if this package does provide support for v6. Package.json references mongoose >=4 for deps and for devDeps v5.
Before putting effort in this and later finding out that something like #68 is a showstopper, we would like to know if anyone is running this package with mongoose v6.
Thanks in advance!
I am also running the package with the latest version of mongoose 6 which has caused errors. Mongoose also has built in TS support now so TS complains when trying to use a string as the unique
message as described in docs. I've had to go back and create workarounds for what this package solved.