I started converting some code that uses Spring Ba...
# spring
e
I started converting some code that uses Spring Batch from Java to Kotlin, and spotted some easy changes that could help. I'm finding classes like
JpaPagingItemReader
and
MongoItemReader
that have a bunch of setters to configure them, but no getters, which prevents using property access from the Kotlin code. Adding them would be nice ... I personally don't see an encapsulation risk, but maybe I'm missing something.