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
Top config {foo:42, foo: ${?a}}. Create an unresolved ConfigTree: unresolved
Base config source: {b: 14} - which doesn't actually provide a
unresolved.with_fallback(source)
Expected value: {foo:42, b:14}
Instead we get {b: 14}. When doing merge_configs() we have overwritten the overriden_value (42) of foo so we lose the ability to resolve it so it is left out of the final ConfigTree
The text was updated successfully, but these errors were encountered:
aalba6675
changed the title
Unresolved optional substitutions are lost during merged
Unresolved optional substitutions are lost during merge
May 3, 2018
Corner case extracted from java issue #332(lightbend/config#332);
{foo:42, foo: ${?a}}
. Create an unresolved ConfigTree:unresolved
source: {b: 14}
- which doesn't actually providea
unresolved.with_fallback(source)
Expected value:
{foo:42, b:14}
Instead we get
{b: 14}
. When doingmerge_configs()
we have overwritten theoverriden_value
(42) of foo so we lose the ability to resolve it so it is left out of the final ConfigTreeThe text was updated successfully, but these errors were encountered: