-
Type:
Improvement
-
Status: Closed
-
Priority:
Minor
-
Resolution: Complete
-
Affects Version/s: None
-
Fix Version/s: 2.1 RC2 (2020.0.0)
-
Component/s: Core
-
Labels:None
-
Sprint:Neumann RC1, 2020.0.0 - Ockham M1, 2020.0.0 - Ockham RC2
We should allow usage of @Value-annotated constructor parameters so constructor value arguments can be derived from SpEL expressions.
class UserDetails { String name; @Transient boolean isAdmin; UserDetails(String name, @Value("#root.groups.contains('admin') boolean isAdmin) { this.name = name; this.isAdmin = isAdmin; } }
- is related to
-
DATAJDBC-588 Using transient properties in constructor fail with Required property … not found for class
-
- Closed
-