Add new finder for branch rules pagination

What does this MR do and why?

This MR creates a finder that can retrieve and display branch rules (both custom rules and protected branches) in pages, for use in the branch rules graphql type.

References

Related to #576206

Changes needed for pagination:

  1. Add new scope for branch rules pagination (!212621 - merged)
  2. Add new finder for branch rules pagination (!212623) <- you are here
  3. Add pagination to graphql branch rules (!212624)

Draft poc MR where you can see the changes in use: !211451

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #576206

Edited by Gavin Hinfey

Merge request reports

Loading