-
Notifications
You must be signed in to change notification settings - Fork 377
Closed
Labels
in: coreIssues in core supportIssues in core supporttype: enhancementA general enhancementA general enhancement
Milestone
Description
Mark Paluch opened DATAJDBC-508 and commented
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;
}
}
Issue Links:
- DATAJDBC-588 Using transient properties in constructor fail with Required property … not found for class
Metadata
Metadata
Assignees
Labels
in: coreIssues in core supportIssues in core supporttype: enhancementA general enhancementA general enhancement