Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple sort params #74

Open
timsmelik opened this issue Apr 13, 2022 · 0 comments
Open

Allow multiple sort params #74

timsmelik opened this issue Apr 13, 2022 · 0 comments

Comments

@timsmelik
Copy link
Contributor

Spring data Pageable supports sorting on multiple dimensions.

On the client side, we can do this by adding multiple sort params, e.g. /api/users?sort=age,desc&sort=name,asc. The PagingClient doesn't support this however, because it expects the sort param to be a single string. We should also allow users to pass in a list of strings.

As part of this change, we could also export the Pagable type for reuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant