spring-cloud-commons icon indicating copy to clipboard operation
spring-cloud-commons copied to clipboard

Polish note about @ConfigurationProperties can't be refreshed

Open quaff opened this issue 11 months ago • 4 comments

quaff avatar Feb 07 '25 03:02 quaff

Your change implies other types can't be refreshed. Can you describe why you want this change?

spencergibb avatar Feb 07 '25 03:02 spencergibb

Your change implies other types can't be refreshed. Can you describe why you want this change?

My point is not only Java Records but any type using constructor binding.

See https://github.com/spring-projects/spring-boot/blob/1e73a7cf8b376ea4b5ead9e56df093e5354c4de7/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/BindMethod.java#L33C18-L33C43

quaff avatar Feb 07 '25 04:02 quaff

Then say that rather than value object.

spencergibb avatar Feb 07 '25 15:02 spencergibb

I copied terms from Javadoc of Spring Boot, WDYT?

quaff avatar Feb 08 '25 00:02 quaff