Tegral PrismaKT: Prisma integration with JetBrains Exposed #81
Labels
experiments
This issue or PR is about an experimental (or would-be experimental) feature
Module: new module
Milestone
Hi to whoever will read this, long time no see! I'm back and am finally able to reveal some stuff I've been working on in the past months.
Tegral PrismaKT
Tegral PrismaKT is a module that generates JetBrains Exposed DAOs and table definitions from your Prisma schema.
In short, automatically get from this:
To this:
It integrates into Prisma's existing "generator" concept and generates classes via Prisma's datamodel (DMMF). For more information, check Prisma's article here. Massive thanks to the work done by YassinEldeeb on create-prisma-generator that allowed me to get good documentation on how to do things :)
Status
This will be a "long-life" issue which tracks the progress on PrismaKT. Due to the high complexity of what Prisma can handle, there will be a fairly long period spent debugging things PrismaKT gets totally wrong.
Expected initial release for 0.0.4 along with Tegral Niwen (which is required for this issue)
Initial release: 0.0.4 (planned)
Next release: 0.0.5
For alpha release
@@id
fields. This will not be possible with the Exposed DAO API: DAO on compound/multiple primary key ? JetBrains/Exposed#964, but should still be generated for the SQL APIDatabase.connect
calls using Prisma'sdatasource
sectionFor beta release
For stable release
The text was updated successfully, but these errors were encountered: