Skip to content

Fix IssuesController#show degradation including project on loaded notes

Paco Guzman requested to merge includes-projects-to-render-issue-notes into master

What does this MR do?

Resolve N+1 problem with notes and project on IssuesController#show action as detected here

On an issue with 8 notes, using sherlock we make 50 database queries instead 71

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Merge request reports