-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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
endpoint :list_users do
path("/users")
limit_with {:param, "limit"}
sort_with {:param, "sortBy"}
order_with {:param, "order"}
# runtime_sort? true
paginator CustomPaginator
endMetadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request