Improve search api preloading for merge_requests scope
Create MergeRequestPreloader for Search API to be used with merge_requests scope. The preloader lazily loads attributes using BatchLoader and utilizes the lazy attributes in the MergeRequestBasic Entity if lazy_load option is set. This improves response times by avoiding N+1 queries.
Showing
Please register or sign in to comment