Coding convention eager loading relationships

By @mratiebatie · 2021-09-07 12:03

Coding convention eager loading relationships

  • By @mratiebatie · 2021-09-13 12:01

    Thanks for your answer. I've considered this as well but since it's quite some data it would slow down page load. Also, some eager loading queries have a extra scope on a date field which I excluded for brevity.

    A couple of days ago I came up with the idea to start using ViewModels more. I think this is the best place to eager load extra data for a specific page. Thanks though!