You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: