Reduce N+1 queries for Search API projects scope
Add new scope for Project model to preload data for API entities. The scope will be used by the Search API to preload data when returning Elastic Search results. Added tests for projects scope to avoid N+1 issues. Reorganize merge_requests scope tests.
Showing
Please register or sign in to comment