Currently the SDK doesn't support for Abstract field inheritance.
UserInfo is defined as follow: (written in Kotlin)
abstract class UserInfo(
@SerializedName("First Name")
@NotBlank
open var firstName: String? = null,
@SerializedName("Last Name")
@NotBlank
open var lastName: String? = null ) {}
and I have Student class which inherit from UserInfo as follow
class Student constructor() : UserInfo() {
@SerializedName("Student CMKL ID")
var studentId: String? = null
// ... more fields
)
but when I do select() the firstName and lastName aren't mapped out.
Currently the SDK doesn't support for Abstract field inheritance.
UserInfo
is defined as follow: (written in Kotlin)and I have
Student
class which inherit fromUserInfo
as followbut when I do
select()
thefirstName
andlastName
aren't mapped out.