You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in 5.11.x mongoose released a breaking change related to TS types and slowly trying to fix some of them. This new types are less usable than @types/mongoose and they cannot work together and there is no way to override them (except of ugly hack with postinstall script which I don't want to put in my docs). There are a bunch of ts related issues I'm waiting for mongoose to fix.
That's why 5.11.+ is not supported.
I close this, as there is nothing I can do from my side.
Describe the bug
Incompatible with mongoose 5.11.15
To Reproduce
Install the latest versions of mongoose and @casl/mongoose
Expected behavior
Te be compatible with each other. Why is 5.10.0 the last supported version?
CASL Version
"mongoose": "^5.11.15"
"mongoose-aggregate-paginate-v2": "^1.0.42"
"mongoose-paginate-v2": "^1.3.14"
"@casl/ability": "^5.2.2"
"@casl/mongoose": "^4.0.1"
Environment:
node:15.8.0-alpine
Typescript 4.1.5
The text was updated successfully, but these errors were encountered: