-
-
Notifications
You must be signed in to change notification settings - Fork 127
Closed
Labels
Description
Description and expected behavior
As per the title.
Currently, any empty model body signifies user error and raises a validation error. This behaviour is correct for 'base' models (models that do not inherit from any abstract models).
However, a model with an empty body that extends an abstract model would yield a valid model and therefore should not raise a validation error.
Screenshots
Environment (please complete the following information):
- ZenStack version: 1.0.1
- Prisma version: 5.3.1
- Database type: N/A
Additional context
N/A
ymc9


