In Spring Boot 4.0.x and earlier OriginTrackedYamlLoader does not add properties for YAML entries that have empty object values.
For example, given the following YAML:
A PropertySource is loaded that contains foo.bar but not foo.baz.
With spring-projects/spring-framework#36197 we now have an opportunity to also add foo.baz with an empty String value.
(we should replace null with an empty String to align with .properties and make #48920 easier to implement)
In Spring Boot 4.0.x and earlier
OriginTrackedYamlLoaderdoes not add properties for YAML entries that have empty object values.For example, given the following YAML:
A
PropertySourceis loaded that containsfoo.barbut notfoo.baz.With spring-projects/spring-framework#36197 we now have an opportunity to also add
foo.bazwith an empty String value.(we should replace
nullwith an empty String to align with.propertiesand make #48920 easier to implement)