Skip to content

gh-407 - Add ReactiveSortingRepository support #408

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 2 commits into from
Closed

gh-407 - Add ReactiveSortingRepository support #408

wants to merge 2 commits into from

Conversation

ada-waffles
Copy link
Contributor

Implements ReactiveSortingRepository on SimpleR2dbcRepository. Also changed R2dbcRepository to extend ReactiveSortingRepository and updated comments where it felt reasonable.

Added a single unit test for the new method, and changed the base interface of LegoSetRepository in AbstractR2dbcRepositoryIntegrationTests for integration testing purposes.

P.S., Should SimpleR2dbcRepository implement the R2dbcRepository interface? I don't think it would make any functional difference since the store-specific interface doesn't add any methods, but I was looking at the Reactive Mongo code as a reference while working on this and I noticed that as a difference.

Implements ReactiveSortingRepository on SimpleR2dbcRepository. Also changed R2dbcRepository to extend ReactiveSortingRepository and updated comments where it felt reasonable.

Added a single unit test for the new method, and changed the base interface of LegoSetRepository in AbstractR2dbcRepositoryIntegrationTests for integration testing purposes.
Adds some language calling out ReactiveSortingRepository and fixes consistency between related examples.
mp911de pushed a commit that referenced this pull request Jul 23, 2020
Implements ReactiveSortingRepository on SimpleR2dbcRepository. Also changed R2dbcRepository to extend ReactiveSortingRepository and updated comments where it felt reasonable.

Added a single unit test for the new method, and changed the base interface of LegoSetRepository in AbstractR2dbcRepositoryIntegrationTests for integration testing purposes.

Clarify documentation on reactive repository base interfaces

Adds some language calling out ReactiveSortingRepository and fixes consistency between related examples.

Original pull request: #408.
mp911de added a commit that referenced this pull request Jul 23, 2020
Guard find(Sort) against null values. Add author to documentation. Use ReactiveDataAccessStrategy in R2dbcEntityTemplate created in SimpleR2dbcRepository.

Original pull request: #408.
mp911de pushed a commit that referenced this pull request Jul 23, 2020
Implements ReactiveSortingRepository on SimpleR2dbcRepository. Also changed R2dbcRepository to extend ReactiveSortingRepository and updated comments where it felt reasonable.

Added a single unit test for the new method, and changed the base interface of LegoSetRepository in AbstractR2dbcRepositoryIntegrationTests for integration testing purposes.

Clarify documentation on reactive repository base interfaces

Adds some language calling out ReactiveSortingRepository and fixes consistency between related examples.

Original pull request: #408.
mp911de added a commit that referenced this pull request Jul 23, 2020
Guard find(Sort) against null values. Add author to documentation. Use ReactiveDataAccessStrategy in R2dbcEntityTemplate created in SimpleR2dbcRepository.

Original pull request: #408.
@mp911de mp911de added this to the 1.1.3 (Neumann SR3) milestone Jul 23, 2020
@mp911de mp911de added the type: enhancement A general enhancement label Jul 23, 2020
@mp911de
Copy link
Member

mp911de commented Jul 23, 2020

Thank you for your contribution. That's merged, polished, and backported now.

@mp911de mp911de closed this Jul 23, 2020
@ada-waffles ada-waffles deleted the reactive-sorting-repository-support branch July 23, 2020 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants