Do not ignore null/empty values from SPRING_APPLICATION_JSON
Fixes gh-21542
This commit is contained in:
@@ -426,6 +426,11 @@ You can also supply the JSON as a JNDI variable, as follows: `java:comp/env/spri
|
||||
====
|
||||
|
||||
|
||||
NOTE: Although `null` values from the JSON will be added to the resulting property source, the `PropertySourcesPropertyResolver` treats `null` properties as missing values.
|
||||
This means that the JSON cannot override properties from lower order property sources with a `null` value.
|
||||
|
||||
|
||||
|
||||
|
||||
[[boot-features-external-config-random-values]]
|
||||
=== Configuring Random Values
|
||||
|
||||
Reference in New Issue
Block a user