by mixologic · 5y ago · 0 comments
People might hate constrained configuration, but the idea is that you dont have to prove that what you're configuring is actually whats happening.
Doesn't your solution of replacing the possibly buggy code with configuration leave you with configuration that may or may not be buggy?
But if the code that actually goes to production is actually different to what is tested (because your rebuilt it based on a config with some runtime behavior that executed differently), you are compromising the whole thing and all bets are off.
People will try to split the difference and generate a static config with code and test that as a reproducible entity, but then you have another set of tradeoffs (not least, complexity).