Skip to content

Decouple Paging and Sorting repositories from CrudRepository #2540

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

Closed
wants to merge 4 commits into from

Conversation

schauder
Copy link
Contributor

@schauder schauder commented Jan 28, 2022

Closes #2537

This way they can be combined with different variants of CrudRepositories.

This affects
`PagingAndSortingRepository`, `ReactiveSortingRepository`, `CoroutineSortingRepository`, and `RxJavaSortingRepository`.

Any repository implementing those interfaces now needs to also implement a suitable CRUD repository, or needs to manually add the methods from a CRUD repository as needed.

Closes #2537
@schauder schauder force-pushed the issue/2537-split-pagingandsortingrep branch from 628e3e0 to 28ea8f2 Compare February 9, 2022 18:25
@schauder schauder marked this pull request as ready for review February 10, 2022 12:32
Copy link
Member

@mp911de mp911de left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to update the documentation as well?

See #2537
Original pull request #2540
See #2537
Original pull request #2540
@schauder
Copy link
Contributor Author

I made all the changes and updated the documentation.

@mp911de
Copy link
Member

mp911de commented Feb 10, 2022

Thanks. I'll handle the merge tomorrow and follow up with modules that require changes.

@schauder
Copy link
Contributor Author

Thanks. Let me know so we can handle the follow up changes together.

@mp911de mp911de self-assigned this Feb 11, 2022
@mp911de mp911de changed the title Split PagingAndSortingRepository Decouple Paging and Sorting repositories from CrudRepository Feb 11, 2022
@mp911de mp911de added this to the 3.0 M2 (2022.0.0) milestone Feb 11, 2022
mp911de pushed a commit that referenced this pull request Feb 11, 2022
This way they can be combined with different variants of CrudRepositories.

This affects
`PagingAndSortingRepository`, `ReactiveSortingRepository`, `CoroutineSortingRepository`, and `RxJavaSortingRepository`.

Any repository implementing those interfaces now needs to also implement a suitable CRUD repository, or needs to manually add the methods from a CRUD repository as needed.

Closes #2537
Original pull request: #2540.
@mp911de
Copy link
Member

mp911de commented Feb 11, 2022

That's merged and polished now.

@mp911de mp911de closed this Feb 11, 2022
@mp911de mp911de deleted the issue/2537-split-pagingandsortingrep branch February 11, 2022 09:40
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

Successfully merging this pull request may close these issues.

Decouple PagingAndSortingRepository from CrudRepository and make it a fragment interface
2 participants