Skip to content

Set fetch: extra lazy on all collections doctrine associations#373

Merged
tuj merged 3 commits into
feature/list-optimizationsfrom
feature/extra-lazy-collections
Apr 10, 2026
Merged

Set fetch: extra lazy on all collections doctrine associations#373
tuj merged 3 commits into
feature/list-optimizationsfrom
feature/extra-lazy-collections

Conversation

@tuj

@tuj tuj commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Link to ticket

Please add a link to the ticket being addressed by this change.

Description

Sets fetch: 'EXTRA_LAZY' on all OneToMany, ManyToMany associations to avoid fetching associations when not needed.

See: https://www.doctrine-project.org/projects/doctrine-orm/en/3.6/tutorials/extra-lazy-associations.html

Checklist

  • My code is covered by test cases.
  • My code passes our test (all our tests).
  • My code passes our static analysis suite.
  • My code passes our continuous integration process.

@tuj
tuj requested a review from turegjorup April 10, 2026 10:40
@tuj tuj self-assigned this Apr 10, 2026
@tuj
tuj marked this pull request as ready for review April 10, 2026 10:40
@tuj
tuj merged commit 85d937b into feature/list-optimizations Apr 10, 2026
14 of 16 checks passed
@tuj
tuj deleted the feature/extra-lazy-collections branch April 10, 2026 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant