jhipster / jhipster-kotlin

Kotlin based JHipster
https://khipster.dev
Apache License 2.0
453 stars 95 forks source link

fix: make user entity a data class #377

Open ACMarcus opened 1 year ago

ACMarcus commented 1 year ago
CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

mraible commented 1 year ago

After watching this video, I learned it's a bad idea to use data for JPA classes.

ACMarcus commented 1 year ago

Might be, but as all other generated entities are generated as data class, why not also doing so for User entity?