Skip to content

Conversation

@dispe1
Copy link

@dispe1 dispe1 commented Jan 9, 2026

ReflectionRepositoryInvoker returns Mono without subscribing when used with ReactiveCrudRepository, causing repository population to silently do nothing.

We now introduce ReactiveCrudRepositoryInvoker that properly blocks on Mono/Flux to execute the reactive operations synchronously during population.

Closes #2090

  • You have read the Spring Data contribution guidelines.
  • You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
  • You submit test cases (unit or integration tests) that back your changes.
  • You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).

…support.

This commit introduces ReactiveCrudRepositoryInvoker to enable repository
population with ReactiveCrudRepository. The invoker blocks on reactive types
to provide synchronous execution semantics required by the repository
populator infrastructure.

Closes spring-projects#2090

Signed-off-by: Gichan Im <[email protected]>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AbstractRepositoryPopulatorFactoryBean doesn't work with ReactiveRepository [DATACMNS-1670]

2 participants