trisma[t]ypescript p[risma]This is an experimental way of creating a Prisma DMMF with TypeScript Decorators.
@Model()
export class Example {
@ID()
@Field()
@Documentation("This is the ID of the row")
@Default("uuid()")
id!: string;
@Field()
@Nullable()
@Array(String)
names?: string[];
@Field()
@Default(0)
@Unique()
count!: number;
}
Yes, it does generate a valid DMMF... mostly:

Not yet. I have no idea how to convert a Prisma DMMF into a working Prisma Client (including migrations, studio, etc).
If any of the Prisma team are reading this, plz halp!!!
$ claude mcp add trisma \
-- python -m otcore.mcp_server <graph>