Skip to content

Introduce @Inject-able SpEL expression resolver for use in @Configuration classes [SPR-8372] #13019

@spring-projects-issues

Description

@spring-projects-issues

Chris Beams opened SPR-8372 and commented

Right now, @Value (in combination with PPC) is flexible enough to support ${...} or #{...} expressions, whereas the Environment#getProperty family of methods is only about property lookups (as it should be). We should consider allowing users to @Inject something like a SpelExpressionResolver object that allows for a symmetrical approach to servicing property lookups or SpEL expressions side-by-side.


Affects: 3.1 M2

Issue Links:

Metadata

Metadata

Assignees

Labels

status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions