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

Added explicit sealed subtypes #380

Closed sksamuel closed 1 year ago

sksamuel commented 1 year ago

Resolves #357

frozenice commented 1 year ago

Strict mode needs to be aware of this or else you'll get errors like:

Config value 'a.b._type' at (...) was unused

Tried with 2.8.0.RC1.