You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
@ConfigurationProperties("servers")
@ConstructorBinding
public record ServersConfiguration(ServerConfiguration server) {
public record ServerConfiguration(int port) {
public ServerConfiguration{
System.out.println("Port: " + port);
}
}
}
While this does not work:
@ConfigurationProperties("servers")
public record ServersConfiguration(ServerConfiguration server) {
public record ServerConfiguration(int port) {
public ServerConfiguration{
System.out.println("Port: " + port);
}
}
}
As reported here this works:
While this does not work:
See related Boot commit.
The text was updated successfully, but these errors were encountered: