10:47am PST - January 17th, 2021
TIL: #laravel supports the null object pattern in relations using withDefault() Really handy to provide default values for nullable relations In this instance, I'm using it to show a name for unassigned tasks https://t.co/PZDncFGrDQ
2 retweets 1 likes - Michael Heap (@mheap)