PLAY PODCASTS
Should an Eloquent relationship include soft-deleted records?
Episode 74

Should an Eloquent relationship include soft-deleted records?

No Compromises · Joel Clermont and Aaron Saray

May 16, 202313m 37s

Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

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

Topics

laravelphp