4 ms·
> Of course, the framework is a hairy mess for other reasons (lazy loading, untranslateable methods, ugly generated queries) but the alternative to SQL it prese
by Volrath89 7y ago
> Of course, the framework is a hairy mess for other reasons (lazy loading, untranslateable methods, ugly generated queries) but the alternative to SQL it presents is lovely.
What is wrong with lazy loading enabled by default?
- tomnipotent 7y agoHidden side effects. Iterating over a list of something in one layer shouldn't trigger database queries in another. Ideally, you should know ahead of time what data you need and how to pre-load it without relying on something that could cause multiple N+1 issues based on the depth of lazy loading.