sksamuel / hoplite

A boilerplate-free Kotlin config library for loading configuration files as data classes
Apache License 2.0
922 stars 74 forks source link

Cascading does not take into account source keys #447

Closed rocketraman closed 1 month ago

rocketraman commented 1 month ago

When we cascade map nodes, the sourceKey is lost.

This breaks denormalization for the map and Hikari data source decoders, because denormalization uses the sourceKey to restore the original key value to the target.

This is in a sense a regression of path normalization, which added the sourceKey concept.