Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Prisma file RFC #2002

Open
sodic opened this issue May 2, 2024 · 1 comment
Open

Create a Prisma file RFC #2002

sodic opened this issue May 2, 2024 · 1 comment
Assignees
Labels
database enhancement New feature or request prisma

Comments

@sodic
Copy link
Contributor

sodic commented May 2, 2024

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:

  • how does the Wasp compiler get info about entities then?
  • what is supported by Wasp in the Prisma file?
  • where and how do we handle migrations?
  • how do users run Prisma commands?

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 sodic added enhancement New feature or request database prisma labels May 2, 2024
@sodic
Copy link
Contributor Author

sodic commented May 8, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database enhancement New feature or request prisma
Projects
None yet
Development

No branches or pull requests

2 participants