Skip to content

Add a property to fail fast for unresolvable placeholders in @ConfigurationProperties #45341

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nosan
Copy link
Contributor

@nosan nosan commented Apr 30, 2025

Introduce the spring.configurationproperties.ignore-unresolvable-placeholders property to control whether an exception should be thrown when a property placeholder ${...} cannot be resolved.

See #18816

@nosan nosan changed the title Add a property to ignore unresolvable placeholders for @ConfigurationProperties Add an property to fail fast for unresolvable placeholders in @ConfigurationProperties Apr 30, 2025
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 30, 2025
@nosan nosan changed the title Add an property to fail fast for unresolvable placeholders in @ConfigurationProperties Add a property to fail fast for unresolvable placeholders in @ConfigurationProperties Apr 30, 2025
…rationProperties

Introduce the `spring.configurationproperties.ignore-unresolvable-placeholders`
property to control whether an exception should be thrown when a property
placeholder `${...}` cannot be resolved.

Signed-off-by: Dmytro Nosan <[email protected]>
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