• Andreas Brandl's avatar
    Refactor pagination helper, extract classes · 957d97d0
    Andreas Brandl authored
    This refactors the pagination helper and extracts the logic into
    Gitlab::Pagination. The goal here is to change
    Gitlab::Serializer::Pagination (which is in app/) to *not* use
    Api::Helpers::Pagination anymore. Instead, it calls the extracted
    classes directly.
    
    This is a preparation to add more pagination strategies to the API only
    (like keyset pagination).
    957d97d0
pagination.rb 214 Bytes