Skip to content

Paginate the merge requests API earlier to avoid eager loading every merge request

Stan Hu requested to merge sh-improve-mr-api into master

The inclusion of preload in !12732 (merged) broke things because the API attempted to load every merge request and associated data all at once. Paginating earlier reduces the data set properly and makes this endpoint usable again.

Merge request reports