spring-projects/spring-data-commons

`CustomConversions` issues a warning for asymmetric converters when converting from a `List`

Closed this issue · 1 comments

Hey,
I've just recently updated to 4.5.0 (via the Spring Boot update to 3.5.0) and found that a new warning shows up during startup:

Registering converter from interface java.util.List to interface org.springframework.data.domain.Vector as reading
converter although it doesn't convert from a store-supported type; You might want to check your annotation setup
at the converter implementation

From what I got this was added via spring-projects/spring-data-mongodb@e8e110e by adding the new ListToVectorConverter.

So either the converter is faulty and does not work as the warning suggests or the warning is wrong and should be removed. But either way it adds confusion that something is not right.

Thanks for giving it a check.

That's fixed now. Feel free to verify using the latest 3.5.1-SNAPSHOT build.