-
Notifications
You must be signed in to change notification settings - Fork 41.4k
Closed as not planned
Closed as not planned
Copy link
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: enhancementA general enhancementA general enhancement
Description
Since spring-projects/spring-batch#4650 (comment) is closed and there is an way to override the JobParametersConverter
in org.springframework.batch.core.configuration.support.DefaultBatchConfiguration
it would be very convenient if spring boot auto configuration also allows this.
Right now
class BatchAutoConfiguration.SpringBootBatchConfiguration
does not override
protected JobParametersConverter getJobParametersConverter()
Line 99 in 4a2c26e
static class SpringBootBatchConfiguration extends DefaultBatchConfiguration { |
And the only alternative workaround is to utilize the BatchConversionServiceCustomizer
and install converters per type, while most parameter objects are data classes, and can easily be handled by json serialization.
Explained in details here
cc: @fmbenhassine
fmbenhassine
Metadata
Metadata
Assignees
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: enhancementA general enhancementA general enhancement