config-rs icon indicating copy to clipboard operation
config-rs copied to clipboard

reading values via environment variables in bash

Open 8de2fdb0 opened this issue 8 months ago • 1 comments

Reading nested environment variables is kind of impossible when using this library.

Env variables like: APP.NESTED_CONFIG.VALUE

Don't really work in Bash, the workaround is to use a double underscore for separators __, I guess parsing would have been a bit harder if _ would be supported in that case. But from a usability perspective this is a real foodgun.

8de2fdb0 avatar Jun 25 '24 14:06 8de2fdb0