You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 18, 2026. It is now read-only.
fix: don't insert Null for Option fields in default filling
When Option<T> fields are flattened inside enum variants, inserting
ConfigValue::Null causes the facet deserializer to produce
Some(Default::default()) instead of None (e.g., Some("") for String,
Some(0) for usize).
Fix: return None from get_default_config_value for Option types,
leaving the field missing so facet applies the natural Default for
Option<T>, which is None. Works correctly in both flatten and non-flatten
code paths.
0 commit comments