You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The only sorting supported by this wrapper currently is :runtime_sort? which may be inefficient if the sorting is supported by the API.
Describe the solution you'd like
The ability to define and use sort_with and order_with properties in the endpoint definition
Describe alternatives you've considered
Currently I am using :runtime_sort?
Express the feature either with a change to resource syntax, or with a change to the resource interface
I think we may want to go with the same strategy we've used for paginator as it allows for more complex behaviors. We should probably do that for limit too, TBH. i.e limiter {LimitParam, "limit"}, sorter {SortParam, ...}. Because some apis support things like sort=foo,-bar,+baz and some require providing the parameter multiple times, or splitting the order and the sort params.
Is your feature request related to a problem? Please describe.
The only sorting supported by this wrapper currently is
:runtime_sort?
which may be inefficient if the sorting is supported by the API.Describe the solution you'd like
The ability to define and use
sort_with
andorder_with
properties in the endpoint definitionDescribe alternatives you've considered
Currently I am using
:runtime_sort?
Express the feature either with a change to resource syntax, or with a change to the resource interface
The text was updated successfully, but these errors were encountered: