Closed as not planned
Closed as not planned
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()
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