-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement
Milestone
Description
Overview
We have an ObjectToOptionalConverter
since Spring Framework 4.1; however, we do not have a standard Converter
for the inverse.
As discussed in #20433 (comment), it would beneficial to have an OptionalToObjectConverter
.
Although its primary use would likely be in SpEL expressions, we should investigate whether it makes sense to register it by default in DefaultConversionService
, especially since doing so would allow the OptionalToObjectConverter
to be package-private like ObjectToOptionalConverter
.
Related Issues
Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)type: enhancementA general enhancementA general enhancement