This commit is contained in:
Phillip Webb 2024-07-22 18:41:12 +01:00
parent 36b1214feb
commit d9360a034f
3 changed files with 3 additions and 0 deletions

View File

@ -25,4 +25,5 @@ public record NestedPropertiesRecord(String myProperty, @NestedConfigurationProp
public record InnerPropertiesRecord(String myInnerProperty, @NestedConfigurationProperty NestedRecord nested) {
}
}

View File

@ -17,4 +17,5 @@
package org.springframework.boot.configurationsample.record;
public record NestedRecord(String myNestedProperty) {
}

View File

@ -20,6 +20,7 @@ import org.springframework.boot.configurationsample.ConfigurationProperties;
/**
* @author Moritz Halbritter
* @param alpha the alpha property
*/
@ConfigurationProperties("record-with-getter")
public record RecordWithGetter(String alpha) {