-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
Unless I'm using this trait incorrectly, to use soft deletes we need to always use the method $model->deleteWithRelated(). The method $model->delete() continues to do a hard delete. While I like that $model->deleteWithRelated() recurses through children data to soft delete them as well as the parent, sometimes it would be nice to simply have a softDelete() instead of building an exception list for $skippedRelations.
Is that on the drawing board? Would you accept a PR with this method if not?
Metadata
Metadata
Assignees
Labels
No labels