Catch missing datasource
earlier
#4143
Labels
domain/client
Issue in the "Client" domain: Prisma Client, Prisma Studio etc.
kind/improvement
An improvement to existing feature and code.
tech/typescript
Issue for tech TypeScript.
topic: cli
topic: error
Bug description
Right now you can generate a Prisma Client without a datasource. You'll find out about this at runtime:
How to reproduce
Expected behavior
I would have expected to see this error when you run
prisma generate
Environment & setup
The text was updated successfully, but these errors were encountered: