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
Continuing with highlighting the differences with typesafe-config.
Given file test-2.conf:
Common {
common = "common"
}
Foo = ${Common}
Foo = {
home = "/tmp"
home = ${?HOME}
}
it fails to resolve with "resolve_substitutions() did not give us a resolved object" (it works with typesafe-config).
For the record, this variant does not work in neither of them, though I was expecting it to work:
Common {
common = "common"
}
Foo = ${Common} {
home = "/tmp"
home = ${?HOME}
}
It fails with:
# simple_config_object::replace_child did not find {
# file: test-2.conf
# unresolved merge of 2 values follows (
# unmerged value 0 from file: test-2.conf
"home" : "/tmp",
# unmerged value 1 from file: test-2.conf
"home" : ${?HOME}
# ) end of unresolved merge
}
and
com.typesafe.config.ConfigException$BugOrBroken: SimpleConfigObject.replaceChild did not find SimpleConfigObject({"home":"/tmp","home":${?HOME}}) in SimpleConfigObject({"Common":{"common":"common"},"Foo":${Common}{"home":"/tmp","home":${?HOME}}})
And this variant works in both of them but is more verbose:
Common {
common = "common"
}
Foo-content {
home = "/tmp"
home = ${?HOME}
}
Foo = ${Common} ${Foo-content}
The text was updated successfully, but these errors were encountered:
Continuing with highlighting the differences with typesafe-config.
Given file test-2.conf:
it fails to resolve with "resolve_substitutions() did not give us a resolved object" (it works with typesafe-config).
For the record, this variant does not work in neither of them, though I was expecting it to work:
It fails with:
and
And this variant works in both of them but is more verbose:
The text was updated successfully, but these errors were encountered: