-
Couldn't load subscription status.
- Fork 2.5k
Closed
Labels
for: backport-to-5.2.xIssues that will be back-ported to the 5.2.x lineIssues that will be back-ported to the 5.2.x linein: infrastructuretype: bugtype: feature
Milestone
Description
Given concrete use case (X as record class)
FlatFileItemReaderBuilder<X>()
...
.targetType(X::class.java)
.fieldSetMapper(myFieldSetMapper)
.build()
Expected Behavior
When both fieldSetMapper and targetType are defined, a "BuildCheckException" should be raised in build method with "you cannot define both FieldSetMapper and targetType"
Current Behavior
FieldSetMapper is ignored and result in misunderstanding at runtime
Best regard
Metadata
Metadata
Assignees
Labels
for: backport-to-5.2.xIssues that will be back-ported to the 5.2.x lineIssues that will be back-ported to the 5.2.x linein: infrastructuretype: bugtype: feature