Should an Eloquent relationship include soft-deleted records?

Show notes:
  • (00:00) - Relationships and trashed records
  • (02:00) - One-to-one relationship
  • (02:39) - Are soft-deletes bad then?
  • (03:30) - Balancing end user and developer experience
  • (05:00) - One-to-many relationships are even more problematic
  • (08:00) - Does the specific domain matter?
  • (10:15) - Agree on the rule as a team
  • (10:50) - Silly bit

Get a free ebook of Laravel security tips
No Compromises, LLC