Ran
|
Jobs
1
|
Files
597
|
Run time
2min
|
Badge
README BADGES
|
push
github
<a href="https://github.com/api-platform/core/commit/<a class=hub.com/api-platform/core/commit/<a class="double-link" href="https://git"><a class=hub.com/api-platform/core/commit/2625c8159c5eac1a2721299e106a1e354aadd862">2625c8159<a href="https://github.com/api-platform/core/commit/2625c8159c5eac1a2721299e106a1e354aadd862"><a href="https://github.com/api-platform/core/commit/2625c8159c5eac1a2721299e106a1e354aadd862">&quot;&gt;Improved recursion handling in EagerLoadingExtension (#4377) * feat: Avoid eager joining back to the just visited parent * fix: Remove unnecessary duplicate select statement This exact select statement is already added a few lines above. The only exception is when fetchPartial is active, and in that case the current implementation is wrong anyways, because it always adds the full select. When this &amp;quot;temporary&quot; solution for avoiding recursion was implemented, the duplicated line above was not yet there: https://github.com/api-platform/core/blob/</a><a class="double-link" href="https://github.com/api-platform/core/commit/<a class="double-link" href="https://github.com/api-platform/core/commit/5ba518014e2770e1ad5686b0124b2db45245fee5">5ba518014</a>">5ba518014</a><a href="https://github.com/api-platform/core/commit/2625c8159c5eac1a2721299e106a1e354aadd862">/src/Bridge/Doctrine/Orm/Extension/EagerLoadingExtension.php#L148 But later, the duplicated statement was added, and the select statement inside the "Avoid recursion" case was made obsolete: https://github.com/api-platform/core/commit/</a><a class="double-link" href="https://github.com/api-platform/core/commit/<a class="double-link" href="https://github.com/api-platform/core/commit/e34427a9f3e356a2d74350a035421dff6e499634">e34427a9f</a>">e34427a9f</a><a href="https://github.com/api-platform/core/commit/2625c8159c5eac1a2721299e106a1e354aadd862"> * refactor(eager loading): Avoid joining unnecessary recursive relations * fix: prevent adding same alias twice; doctrine does not like it Co-authored-by: Pirmin Mattmann <pimattmann@gmail.com>
13559 of 17006 relevant lines covered (79.73%)
14.87 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | #27990.1 | 597 |
79.73 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|