Skip to content

Ask model for supported keyset orders instead of maintaining a list

Brian Williams requested to merge bwill/refactor-keyset-pagination-list into master

What does this MR do and why?

Maintaining a mapping of models and their supported keyset orders doesn't scale as we add keyset ordering for more and more models. This should be defined in each model class instead, close to where the ordering code lives.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Brian Williams

Merge request reports