Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow YamlProcessor subclasses to build the flattened map [SPR-12499] #17104

Closed
spring-projects-issues opened this issue Dec 2, 2014 · 1 comment
Assignees
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Dec 2, 2014

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

@spring-projects-issues
Copy link
Collaborator Author

Stéphane Nicoll commented

That one should be resolved now, right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants