Prerequisites
🚀 Feature Proposal
https://standardschema.dev/schema
Motivation
Got a request for this at an in-person meetup. A good idea - make it easier to reuse Zod etc. schemas for Mongoose or vice versa.
Example
Need to figure this out first, hopefully it would be similar to our existing toJSONSchema() methods, maybe a toStandardSchema() method?
Prerequisites
🚀 Feature Proposal
https://standardschema.dev/schema
Motivation
Got a request for this at an in-person meetup. A good idea - make it easier to reuse Zod etc. schemas for Mongoose or vice versa.
Example
Need to figure this out first, hopefully it would be similar to our existing
toJSONSchema()methods, maybe atoStandardSchema()method?