wasp-lang / wasp

The fastest way to develop full-stack web apps with React & Node.js.
https://wasp-lang.dev
MIT License
12.76k stars 1.14k forks source link

Create a Prisma file POC #2002

Closed sodic closed 2 days ago

sodic commented 2 months ago

We are looking to move entities out of the Wasp file and into a dedicated Prisma file. Benefits of doing this are: tooling support, better Prisma feature support (enums, generators, datasources etc.), less maintenance in the Wasp compiler (maybe).

There are many open questions:

That's why we'll start first with an RFC and then from that we expect to create a detailed action plan on how to achieve this.

sodic commented 1 month ago

More motivation: https://discord.com/channels/686873244791210014/867713251479519232/1237475645290971136