Skip to content

Conversation

@philwebb
Copy link
Member

Update YamlProcessor to allow any value to be inserted for empty entries. This update will allow blank strings to be used instead of null which better aligns with the way that .properties files are loaded.

This update also allows allows the specified emptyValue to be inserted instead of a blank String when the YAML contains null or ~ values.

See gh-36197
See gh-19986

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jan 24, 2026
Update `YamlProcessor` to allow any value to be inserted for
empty entries. This update will allow blank strings to be used
instead of `null` which better aligns with the way that
`.properties` files are loaded.

This update also allows allows the specified `emptyValue` to be
inserted instead of a blank String when the YAML contains `null`
or `~` values.

See spring-projectsgh-36197
See spring-projectsgh-19986

Signed-off-by: Phillip Webb <phil.webb@broadcom.com>
@jhoeller jhoeller self-assigned this Jan 24, 2026
@jhoeller jhoeller added in: core Issues in core modules (aop, beans, core, context, expression) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jan 24, 2026
@jhoeller jhoeller added this to the 7.0.4 milestone Jan 24, 2026
@jhoeller jhoeller merged commit ab314aa into spring-projects:main Jan 24, 2026
4 checks passed
sbrannen added a commit that referenced this pull request Jan 28, 2026
geeeeet pushed a commit to geeeeet/spring-framework that referenced this pull request Jan 29, 2026
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

Successfully merging this pull request may close these issues.

3 participants