Can this be done without duplicating passing arguments to super class?
I have many times case where child inherits all constructor properties from the parent and I was wondering if there is a better way to pass all child argument to parent constructor when inheritance is in place…
Parent class
abstract class DbValue(
val kprop: KProperty1,
val dbType: String,
val jdbcType: JDBCType,
val encoder: Encoder,
val decoder: Decoder,
) {
... additional abstract methods...
... with some of them implemented methods...
}
Child class
open class Column(...