Loading a map key value pair (map__foo=bar) from ENV leads to a map key map__foo instead of foo. This used to work correctly for 2.7.x and is probably broken since 2.8.x.
The problem seems to be in the node denormalization method: (v.sourceKey ?: k).removePrefix("$sourceKey.").
Either v.sourceKey needs to be transformed to map.foo before (when constructing the node) or the $sourceKey. prefix has to be adapted for source keys with underscores.
Loading a map key value pair (
map__foo=bar
) from ENV leads to a map keymap__foo
instead offoo
. This used to work correctly for 2.7.x and is probably broken since 2.8.x.The problem seems to be in the node denormalization method:
(v.sourceKey ?: k).removePrefix("$sourceKey.")
. Eitherv.sourceKey
needs to be transformed tomap.foo
before (when constructing the node) or the$sourceKey.
prefix has to be adapted for source keys with underscores.