Skip to content

Deprecate setRepository and setSorts in RepositoryItemReader - #5472

Merged
fmbenhassine merged 1 commit into
spring-projects:mainfrom
scordio:repository-item-reader-cleanup
Sep 10, 2026
Merged

fmbenhassine merged 1 commit into
spring-projects:mainfrom
scordio:repository-item-reader-cleanup

Conversation

@scordio

@scordio scordio commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

RepositoryItemReader(PagingAndSortingRepository<?, ?>, Map<String, Sort.Direction>) has been added as part of 21af80d, making it the main code path for specifying repository and sorts.

For this reason, the corresponding setters can be deprecated for removal.

Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com>
@fmbenhassine
fmbenhassine merged commit c117f6c into spring-projects:main Sep 10, 2026
2 checks passed
@fmbenhassine fmbenhassine added this to the 6.1.0-M2 milestone Sep 10, 2026
@scordio
scordio deleted the repository-item-reader-cleanup branch September 10, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants