Closed dbacinski closed 5 years ago
To use Kotlin data classes I have to declare them as:
@ContentType("contactDetail")` data class ContactDetail( @JvmField @Field var type: String = "", @JvmField @Field var text: String = "" ) : Resource()
Would be great to:
With those requirements fulfilled we would be able to declare immutable data class like this:
@ContentType("contactDetail")` data class ContactDetail( @Field val type: String, @Field val text: String ) : Resource()
Hello,
sorry for the incredible delay, in case you are still interested, I'm coming back with bad news: Right now we have no plans on supporting data classes.
Greetings, Mario
To use Kotlin data classes I have to declare them as:
Would be great to:
With those requirements fulfilled we would be able to declare immutable data class like this: