Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[DI] Preserve placeholder exception for dynamic arrays #29270
Here's some initial work to deal with envs for array nodes in config.
From #27683 (comment) this would be a first step.
What's still needed is a way to know about the types, e.g. a env resolving to string should be preserved as
Thinking a bit more about it.. one can only expect env placeholders for string values. Maybe having specialized builder API is the better approach, think;
->ifEnv() ->ifNotEnv() ->ifArrayEnv() ->ifNotArrayEnv() // we need this one for e.g. trusted_hosts instead of isString() ->then()