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

Converting to Vavr Option fails for present value

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.13.4 (Ingalls SR4)
    • Fix Version/s: 1.13.5 (Ingalls SR5)
    • Component/s: None
    • Labels:
      None

      Description

      Curently QueryExecutionConverters tries to invoke Vavr's Optional.of like an instance method rather than static one. This causes exception:

      org.springframework.core.convert.ConversionFailedException: Failed to convert from type [org.springframework.data.repository.util.NullableWrapper] to type [io.vavr.control.Option<?>] for value 'org.springframework.data.repository.util.NullableWrapper@ff5b51f'; nested exception is java.lang.IllegalArgumentException: wrong number of arguments
      

        Attachments

          Activity

            People

            • Assignee:
              olivergierke Oliver Drotbohm
              Reporter:
              airborn Jacek Jackowiak
              Last updater:
              Oliver Drotbohm
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: