Hi, I have 2 questions here, 1. I found <https://n...
# orm-help
r
Hi, I have 2 questions here, 1. I found https://npm.io/package/prisma-json-schema-generator to convert the prisma schema to json, do we have any tool to convert JSON with the same spec back to Prisma schema? 2. is there a way (maybe an annotation in prisma schema) to disable mutation in when using the prima client for a given model? Thanks.
n
Hey Richard ๐Ÿ‘‹ Welcome to our community ๐Ÿ˜ƒ 1. I am not aware of any tool converting JSON to Prisma schema. I think it would make sense to create a GitHub Issue in the prisma-json-schema-generator repository to support this use case. 2. No there isnโ€™t any annotation support in the prisma schema as of now to support this.
r
Thanks!
๐Ÿ‘ 1