jdiazcano / cfg4k

Flexible and easy to use config library written in kotlin
Apache License 2.0
80 stars 6 forks source link

Resolve other properties #29

Open jdiazcano opened 6 years ago

jdiazcano commented 6 years ago

Resolve other variables with some kind of syntax so you can just create a property based on another like test=a, ${test}hello -> ahello

rocketraman commented 2 years ago

At least for environment variables, a workaround is to define the HOCON like this:

foo = abc
foo = ${?FOO}

This does the environment variable based override directly in the HOCON via typesafe config.