You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Eric Norman (Jira)" <ji...@apache.org> on 2022/04/12 17:16:00 UTC

[jira] [Commented] (SLING-11259) Lookup required type from property definition when no @TypeHint is supplied

    [ https://issues.apache.org/jira/browse/SLING-11259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17521247#comment-17521247 ] 

Eric Norman commented on SLING-11259:
-------------------------------------

Created PR #12 for review and feedback

> Lookup required type from property definition when no @TypeHint is supplied
> ---------------------------------------------------------------------------
>
>                 Key: SLING-11259
>                 URL: https://issues.apache.org/jira/browse/SLING-11259
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Eric Norman
>            Assignee: Eric Norman
>            Priority: Minor
>             Fix For: JCR Jackrabbit User Manager 2.2.22
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When authorizable properties are strongly typed (via jcr:primaryType or jcr:mixinTypes on the parent node) then the required property type can be determined by inspecting the associated PropertyDefinition.
> This makes the client experience a bit better as no "@TypeHint" request parameters need to be supplied for non-string property values.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)