Open
Description
When writing a duration type parameter to the database, Spring defines it as a String after using converters, it can be seen that JRS310Converters.DurationToStringConverter is being used, but I need its real type and not a modified one.
Now I have to write a strange converter that is used when writing to the database. I need exactly its type. further it is used for custom codec
@WritingConverter
class DurationToDurationConverter : Converter<Duration, Duration> {
override fun convert(source: Duration): Duration = source
}