On Wed, Jan 15, 2025 at 9:19 AM Luca Vizzarro <[email protected]> wrote:
>
> The current handling of the configuration loading is inconsistent. After
> the whole configuration is loaded, if there are any CLI or environment
> overrides set, the code forcefully modifies the frozen configuration to
> use them.
>
> This changes the handling by passing the environment/CLI settings as
> part of the configuration context and handle the overrides directly at
> the field level before these are validated. As a positive side effect,
> the validator won't complain if a field is missing from the file but it
> has been specified as an environment/CLI override.
>
> Bugzilla ID: 1360
> Bugzilla ID: 1598
>
> Signed-off-by: Nicholas Pratte <[email protected]>
> Signed-off-by: Luca Vizzarro <[email protected]>
> Reviewed-by: Paul Szczepanek <[email protected]>

Reviewed-by: Dean Marx <[email protected]>

Reply via email to