<implementing userdetails in kotlin> So i am tryin...
# stackoverflow
u
implementing userdetails in kotlin So i am trying to implement custom userdetails in spring using kotlin data class. but when i implemented it and my ide started throwing declartion class errors so to get rid of it i made all the fields private.i can implement custom getters and setters but i really like to know if their is a way around it. @Entity @Table(name="user_table") data class UserModel( @Column(unique = true) private var email: String, @Column(unique = true) private var username: String, private...