Skip to content

Clarify that configprops defaults are not in the Environment#49835

Open
kodama-kcc wants to merge 1 commit intospring-projects:3.5.xfrom
kodama-kcc:clarify-configprops-defaults
Open

Clarify that configprops defaults are not in the Environment#49835
kodama-kcc wants to merge 1 commit intospring-projects:3.5.xfrom
kodama-kcc:clarify-configprops-defaults

Conversation

@kodama-kcc
Copy link
Copy Markdown

See gh-49654

Clarify in the documentation that default values defined in
@ConfigurationProperties classes are not reflected in the Environment.
This means application code using @Value, @ConditionalOnProperty,
or its own @ConfigurationProperties will not see those defaults.

@kodama-kcc kodama-kcc force-pushed the clarify-configprops-defaults branch from 9f479c2 to 9f01ed0 Compare March 29, 2026 06:06
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 29, 2026
…onment

See spring-projectsgh-49654

Signed-off-by: kei-kodama <kodama521@gmail.com>
@kodama-kcc kodama-kcc force-pushed the clarify-configprops-defaults branch from 9f01ed0 to 54a4858 Compare March 29, 2026 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants