[REQ] Polymorphism with `sealed class` (Kotlin)
Created by: JavierSegoviaCordoba
Is your feature request related to a problem? Please describe.
Currently, the generated model is using inheritance based on an interface
.
Describe the solution you'd like
Add a flag to the Gradle script which allows generating a sealed class
.
Additional context
Maybe this feature can be expanded to more languages.