• Madhura Bhave's avatar
    Add bindOrCreate for constructor based binding · c6dae576
    Madhura Bhave authored
    Deprecate the existing `BindResult.orElseCreate` method in favor of
    `bindOrCreate` methods on the `Binder`. These new methods allow us to
    implement custom creation logic depending on the type of object being
    bound. Specifically, it allows constructor based binding to create new
    instances that respect the `@DefaultValue` annotations.
    
    Closes gh-17098
    Co-authored-by: 's avatarPhillip Webb <pwebb@pivotal.io>
    c6dae576
Name
Last commit
Last update
..
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-autoconfigure Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-properties-migrator Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
pom.xml Loading commit data...