Files
openproject/lib/api/v3/relations
Jan Sandbrink a82257ac66 Automatically pre- and eager-load collections
Index endpoints will automatically discover and use
the `to_eager_load` and `to_preload` declarations of their
representers. This takes away the possibility of forgetting
to add those to the scope.

I found a few endpoint that didn't use them, when other endpoints
rendering the same collection did.

Interestingly the SCM integration modules consistently declared
those methods but never used them.
2025-11-10 16:16:05 +01:00
..