One thing I have come up with is having a separate...
# spring
d
One thing I have come up with is having a separate class per field:
Copy code
interface UserField
data class User(val id: UUID, val name: String, val fields: List<UserField>)
data class UserBirthday(val birthday: LocalDate) : UserField
Thoughts?