You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Radu Cotescu (JIRA)" <ji...@apache.org> on 2019/01/21 18:00:00 UTC
[jira] [Updated] (SLING-8228) Expand Optional objects in the
ObjectModel
[ https://issues.apache.org/jira/browse/SLING-8228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radu Cotescu updated SLING-8228:
--------------------------------
Description: The HTL runtime currently treats {{java.util.Optional}} like regular objects, however it would help developers if these objects were actually expanded and their values, when present, checked against the methods provided by {{org.apache.sling.scripting.sightly.render.ObjectModel}}. (was: The HTL runtime currently treats {{java.util.Optional}} like regular objects, however it would help developers if these objects were actually expanded and their values checked against the methods provided by {{org.apache.sling.scripting.sightly.render.ObjectModel}}.)
> Expand Optional objects in the ObjectModel
> ------------------------------------------
>
> Key: SLING-8228
> URL: https://issues.apache.org/jira/browse/SLING-8228
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Reporter: Radu Cotescu
> Assignee: Radu Cotescu
> Priority: Major
> Fix For: Scripting HTL Runtime 1.1.0-1.4.0
>
>
> The HTL runtime currently treats {{java.util.Optional}} like regular objects, however it would help developers if these objects were actually expanded and their values, when present, checked against the methods provided by {{org.apache.sling.scripting.sightly.render.ObjectModel}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)