-
Couldn't load subscription status.
- Fork 38.8k
Closed as duplicate of#12270
Closed as duplicate of#12270
Copy link
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: duplicateA duplicate of another issueA duplicate of another issue
Description
Allow SpEL MapAccessor to return null for nonexistent keys in its canRead() and read() methods.
My usage scenario:
A long text, such as an HTML template or email template, contains variables and expressions. Use a map to provide variable values, replace and evaluate expressions with SpEL, but some variables may not be in the map.

Metadata
Metadata
Assignees
Labels
in: coreIssues in core modules (aop, beans, core, context, expression)Issues in core modules (aop, beans, core, context, expression)status: duplicateA duplicate of another issueA duplicate of another issue