Soft delete & include
I recently impemented soft-delete with prisma ClientExtentions and it works wonderfully, but:
When handling relational joins I cannot simply add a
{where: {isDeleted: false}}
to every include
statement with a deep patch function, cause to-one relations dont have where
.
Is there a generic way to add a where statement to every include?0 Replies