mongoose-beautiful-unique-validation icon indicating copy to clipboard operation
mongoose-beautiful-unique-validation copied to clipboard

Working with mongoose v6

Open reskume opened this issue 3 years ago • 1 comments

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!

reskume avatar Jan 17 '22 13:01 reskume

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.

ShaneKeney avatar Mar 08 '22 19:03 ShaneKeney