-
Gerardo Navarro authored
- In a previous MR, we identified a N+1 issue when requesting the data to display the label "protected" in the package overview list; when calculating the field `protectionRuleExists` as part of a Graphql query, then multiple queries were executed, see https://gitlab.com/gitlab-org/gitlab/-/merge_requests/146206#note_1871347682 see https://gitlab.com/gitlab-org/gitlab/-/issues/437928#note_1891842044 - By adding the batch loader as part of this MR, only a single database query is executed Changelog: other