schema validation: disallow static empty values #3631
Labels
domain/client
Issue in the "Client" domain: Prisma Client, Prisma Studio etc.
kind/improvement
An improvement to existing feature and code.
topic: schema validation
topic: schema
Due to prisma/prisma-client-js#318, we should disallow static empty values, such as:
This is usually a mistake by the user. It should throw an error that an empty string is not allowed, because otherwise the user will run into a different, most likely unclear error.
Maybe we could even apply this behavior for all empty static strings, not just datasource.url.
The text was updated successfully, but these errors were encountered: