Hi everyone, I'm Ofek, a developer in Amplication,...
# orm-help
o
Hi everyone, I'm Ofek, a developer in Amplication, we use Prisma in our generated code for the users, and I want to get to the gats of the Prisma schema. Do you have any AST package that parses the schema and mutates it?
1
n
Hello @Ofek Gabay 👋 Welcome to our community! prisma rainbow Can you please elaborate on what you mean by gats? Are you perhaps looking for DMMF? Note: The DMMF is a Prisma ORM internal API with no guarantees for stability to outside users. We might - and do - change the DMMF in potentially breaking ways between minor versions.
o
Yeah but do you have and typescript package that let me parse schema.prisma file to an ast and have mutation on that object?
n
You might want to have a look at this npm package, please note that this isn't the official parser.