Overwrite list attribute via env. variable
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 3.2k
- Forks
- 265
- Avg merge
- 2h 42m
- Merged PRs (30d)
- 4
Description
Considering this hierachical-env config with the following YML config
list_config:
- id: first
- id: second
How could I append a field to the first list entry via an environment variable? Could I do something like setting env. variable app_list_config[0].second_field to value?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with examples/hierarchical-env/settings.rs and the environment-variable handling around the shown list_config structure. Investigate whether a variable such as app_list_config[0].second_field can address a list entry, and compare the behavior with the YML example. Done means the supported behavior or limitation is established and covered by the relevant project changes or documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100