socialpaymentsbv / query_builder

2 stars 2 forks source link

Allow custom keys for pagination and sorting #6

Open dimitarvp opened 5 years ago

dimitarvp commented 5 years ago

This will be eventually done but it will only be specified when creating the structure and will not be modifiable (e.g. through put_pagination_keys) after. I deemed it too error-prone to allow such mutation. And it IMO makes more sense to have one set of pagination/sorting keys be applicable for the entire lifetime of a structure and create another one if you need others.