2 ms·
Working with PHP and Doctrine, this is something I've been doing anyway as an optimization, since 1-1 associations can't be lazily fetched. More of a workaroun
by chuckadams 3y ago
Working with PHP and Doctrine, this is something I've been doing anyway as an optimization, since 1-1 associations can't be lazily fetched. More of a workaround for a deficiency in the tool though: as an architectural decision to replace all 1-1 associations because "you might need it later" (YGNI?), it seems pretty suspect.
- marviel 3y agonot all relations, certainly -- but it's a sane "if you aren't sure what to use, do this"