Open sodic opened 8 months ago
This will most likely be solved by upgrading to Prisma 5.X according to this fix: https://github.com/prisma/prisma/pull/20319
One extra thing to consider when we solve this: Prisma started branding their model types so our branded _Entity
types are no longer needed.
Also related: generating variations of Prisma entity types: https://discord.com/channels/686873244791210014/1246062324792557638/1246062324792557638
1544 bumped the version of Prisma from 4.12 to 4.16.
This change introduced a regression in our full-stack type safety DX. The functionality is still there, but type names are far less ergonomic.
We should do our best to find a way to again show meaningful type names again, and also address other potential changes between Prisma 4.12 and 4.16.
Before
After