livefront / sealed-enum

A Kotlin annotation processor that makes writing normal enum classes obsolete.
Apache License 2.0
149 stars 7 forks source link

Investigate impact of `data object` #114

Open alexvanyo opened 2 years ago

alexvanyo commented 2 years ago

Kotlin 1.7.20 introduced a new data object variant of an object, as documented here: https://kotlinlang.org/docs/whatsnew1720.html#improved-string-representations-for-singletons-and-sealed-class-hierarchies-with-data-objects

Whether this works out of the box or needs additional handling needs to be investigated.