Handle reevaluation of Configs inside Partials
masterIn Gin, parameters are injected at call time, meaning evaluated references are re-evaluated every time the function is called. In Fiddle, an fdl.Config is evaluated exactly once during fdl.build. If that config is a parameter of an fdl.Partial, subsequent calls to the partial will reuse the same value.
To preserve Gin's re-evaluation semantics, as_config and as_partial automatically detect if an fdl.Config is inside an fdl.Partial. If so, they use ReevaluatedConfig and PartialWithReevaluations to ensure parameters are re-evaluated on every call.
If you know your configuration does not rely on this behavior (e.g., partials are only called once), you can disable it by setting reevaluate_configs_inside_partials=False to improve performance or simplify the object graph.