Some settings cannot be set via environment
mightyiam opened this issue · comments
It seems that some settings cannot be set via environment. Because:
They have underscores in their names.
And the separator (as in config::Environment::separator
) is an underscore.
For example, one might try to set database.database_type
via MCAPTCHA_DATABASE_DATABASE_TYPE
.
But that doesn't work. Because it will be resolved to database.database.type
😟 😢 .
Some users of the config
crate are confused about this, but here's the gist of it, as far as I understand: you can't use the separator in a name.
Thank you!