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

Filter and Sort in The Same Operation #25

Closed
tsutomi opened this issue Oct 19, 2023 · 0 comments · Fixed by #26
Closed

Filter and Sort in The Same Operation #25

tsutomi opened this issue Oct 19, 2023 · 0 comments · Fixed by #26
Labels
enhancement New feature or request

Comments

@tsutomi
Copy link
Member

tsutomi commented Oct 19, 2023

The concepts of Filter and Sort are currently separated, and the only sorting is happening when querying pages.

In some scenarios, even when returning one single item, it is required that the collection is sorted before returning that item.

We should provide a mechanism to allow filtering and sorting in the same request to a IFilterableRepository<TEntity>

@tsutomi tsutomi added the enhancement New feature or request label Oct 19, 2023
@tsutomi tsutomi linked a pull request Oct 19, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant