Fullstack TypeScript toolkit that enhances Prisma ORM with flexible Authorization layer for RBAC/ABAC/PBAC/ReBAC, offering auto-generated type-safe APIs and frontend hooks.
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):
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):
Additional context
N/A