|
|
|
|
|
by kortex
999 days ago
|
|
The problem is "config" means different things to different people. Some people see config as "the collection of runtime parameters" basically a bank of switches: Pyproject.toml is config. Others see any form of declarative structured data ingested by a runtime as config: docker-compose.yml is config. And of course to minimize impedance mismatch, the structure should be similar to the domain. So yes I want a "config file" to handle at least a dozen levels of nesting without getting obnoxious. |
|
And I don't disagree. The problems of nesting objects "at least 12 levels deep" aren't going to be solved by the right format. The tooling itself needs to expose ways to capture logical dependencies other than arbitrary deep K-V pairs.