Investigate and reduce N+1 SQL issues on notes GraphQL field
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Background
Based on investigation done on &12441 (comment 1730085427), the notes field in GetProjectMergeRequests query can results to N+1 SQL queries.
Proposal
Investigate and reduce the N+1 SQL queries when notes is queried.
Edited by 🤖 GitLab Bot 🤖