Preload associations and issuable metadata in Epics
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/25711#note_147728908 will eliminate N+1 queries for Todos, but it needs to be adapted for Epics:
- Add a test case for Todos
- Add
with_api_entity_associations
to the Epics model - Deal with
epics_metadata
option (e.g. rename toissuable_metdata
)
Edited by Stan Hu