Is there a way to generate Mongo’s `$jsonSchema` o...
# mongodb
d
Is there a way to generate Mongo’s
$jsonSchema
out of Prisma schema? https://www.mongodb.com/docs/manual/reference/operator/query/jsonSchema/#mongodb-query-op.-jsonSchema
n
Hey Dmitri 👋 I don’t think this is possible yet. Here’s the Feature Request for it: #8135 Can you add a 👍 to the request so that it helps our product team in prioritising it.
d
IMO that would have been really great. Mongo+Prisma is a dangerous combo, because it’s very easy to run into validation errors in runtime, in contrast with SQL dbs where inputing invalid data is technically impossible
👍 1