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 a Properties object.
One option is the YamlMapFactoryBean, however, the resulting Map doesn't flatten out keys in the same way as the YamlPropertiesFactoryBean so instead Boot should directly extend YamlProcessor 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
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
YamlPropertiesFactoryBeanbut that doesn't return aPropertiesobject.One option is the
YamlMapFactoryBean, however, the resultingMapdoesn't flatten out keys in the same way as theYamlPropertiesFactoryBeanso instead Boot should directly extendYamlProcessorand 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