Use of flux return types should not fail on custom spring data rest repositories [DATACMNS-1428] #1859
Labels
in: core
Issues in core support
in: repository
Repositories abstraction
status: declined
A suggestion or change that we don't feel we should currently apply
type: bug
A general bug
Gaurav Rawat opened DATACMNS-1428 and commented
Currently in boot 2.1 with spring data kay we get an error if we try to use reactive methods in repositories implementations that don't support reactive repositories . This is understood but I guess it shouldn't fail in case we are trying to use custom repositories (providing custom method implementations to repository) and providing our own implementation methods .
This used to work fine before , I guess at-least exclude custom repositories here from the check .
error below
.s.boot.SpringApplication - Application run failed org.springframework.dao.InvalidDataAccessApiUsageException: Reactive Repositories are not supported by Elasticsearch. Offending repository is
if not what are the alternatives we have , create custom service classes ? This is becoming a roadblock in us upgrading to 2.1
Affects: 2.0.12 (Kay SR12)
Reference URL: spring-projects/spring-boot#15356 (comment)
The text was updated successfully, but these errors were encountered: