Open michaelschufi opened 1 year ago
Hi @michaelschufi thank you!
The supported version range is correct, this package only currently supports mongoose 6. I'm planning to investigate what changes are required for supporting the next major mongoose version soon - just don't have enough free time lately for that.
Anyway you can give mongoose 7 a try to see whether it conflicts with mongoose-zod. I believe you would need to install that version with --legacy-peer-deps
flag if you're using npm.
Hi,
I would like to help add support for Mongoose 7. We really want to infer the Mongoose schema from the Zod schemas to make our lives easier.
Are there any special considerations I should take into account? If you’ve already made some progress, I’d be happy to continue from there if that’s okay.
Hi
I'm new to Mongoose and thought I try to use mongoose-zod, as it looks pretty nice :D
However, npm is reporting only version 6 of Mongoose is supported. Is this correct / will it break if I use Mongoose 7 instead? Is it a problem to use Mongoose 6? I like to have the newest versions if possible 😅