avaje / avaje-config

Application configuration / properties loading for JVM applications
https://avaje.io/config
Apache License 2.0
47 stars 7 forks source link

For default reading of ENV variables include more typically key #74

Closed rbygrave closed 1 year ago

rbygrave commented 1 year ago

System property names are often lowercase with periods. ENV variable names are often Uppercase with underscores.

Enhance the default values lookup of ENV variables to include the key AS IS and also the key modified like: key.replace('.','_').toUpperCase()