Allow YamlProcessor subclasses to build the flattened map [SPR-12499] #17104
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
Phil Webb opened SPR-12499 and commented
Spring Boot needs to create a PropertySource from a yaml file and retain the order of the loaded keys. We need something similar to
YamlPropertiesFactoryBean
but that doesn't return aProperties
object.One option is the
YamlMapFactoryBean
, however, the resultingMap
doesn't flatten out keys in the same way as theYamlPropertiesFactoryBean
so instead Boot should directly extendYamlProcessor
and that should expose a method that can flatten the map.See #17077 and BOOT-2022 for more background.
Affects: 4.1.2
Issue Links:
Referenced from: commits 87f1512
The text was updated successfully, but these errors were encountered: