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 camelCase for allowUppercaseNames #401

Open Perondas opened 8 months ago

Perondas commented 8 months ago

When I try and use the EnvironmentVariablesPropertySource with allowUppercaseNames set to true, then it will not accept cameCase names that are all uppercase.

So corsList does not become equivalent to CORSLIST from the environemnt.

rocketraman commented 7 months ago

Related: https://github.com/sksamuel/hoplite/issues/410.

rocketraman commented 7 months ago

This will be fixed by https://github.com/sksamuel/hoplite/pull/414.