Postgres supports json_agg which solves n+1 and also cartesian product problem. It's neat, hasura does it nicely for example.
If you are eagerloading multiple joins relationships, normally that would create a result set of n x m x k x ... rows. With json_agg each relation could be single column in a row etc.