-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
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:
- YAML + PropertyPlaceholderConfigurer needs to process non-String values as well [SPR-14737] #19303 YAML + PropertyPlaceholderConfigurer needs to process non-String values as well
Referenced from: commits 87f1512
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement