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

Support idiomatic environment variable naming #410

Open rocketraman opened 7 months ago

rocketraman commented 7 months ago

It would be nice if there could be an option for the env var mapping rules to be the same as the ones that Spring uses.

While I dislike Spring in general, their rules for env vars seem to make sense and are generally well understood by developers and devops engineers.

Spring's rules conform with how environment variables are idiomatically defined as upper case in the Unix/Linux world.