• Madhura Bhave's avatar
    Add support for initializing nested object when nothing bound · af6d5387
    Madhura Bhave authored
    When using constructor binding, if no properties are bound to
    a nested property, the top-level instance will be created with a
    null value for the nested property.
    This commit introduces support for an empty `@DefaultValue` which
    indicates that an instance of the nested property must be created
    even if nothing is bound to it. It honors any `@DefaultValue`
    annotations that the nested property might have in its constructor.
    
    Closes gh-18917
    af6d5387
Name
Last commit
Last update
.bomr Loading commit data...
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
idea Loading commit data...
spring-boot-project Loading commit data...
spring-boot-tests Loading commit data...
src/checkstyle Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...