Uploaded image for project: 'Spring Data Commons'
  1. Spring Data Commons
  2. DATACMNS-1428

Use of flux return types should not fail on custom spring data rest repositories

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 2.0.12 (Kay SR12)
    • Fix Version/s: None
    • Component/s: Core, Repositories
    • Labels:
      None
    • Environment:
      test

      Description

      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

        Attachments

          Activity

            People

            Assignee:
            olivergierke Oliver Drotbohm
            Reporter:
            gauravbrills Gaurav Rawat
            Last updater:
            Mark Paluch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: