-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
status: pending-design-workNeeds design work before any code can be developedNeeds design work before any code can be developedtype: enhancementA general enhancementA general enhancement
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
}
Metadata
Metadata
Assignees
Labels
status: pending-design-workNeeds design work before any code can be developedNeeds design work before any code can be developedtype: enhancementA general enhancementA general enhancement