sksamuel / hoplite

A boilerplate-free Kotlin config library for loading configuration files as data classes
Apache License 2.0
922 stars 74 forks source link

Configurable use of Abstract class instead of Sealed #450

Open geomagilles opened 1 month ago

geomagilles commented 1 month ago

In some situations, for example if the config classes are in different modules, I can not use a sealed class. Is there a way to tell Hoplite about the polymorphism to help it load a configuration?