You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/06/03 13:59:04 UTC

[jira] [Commented] (DELTASPIKE-1252) data-documentation missing Optional return value

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

ASF subversion and git services commented on DELTASPIKE-1252:
-------------------------------------------------------------

Commit fbf62e3bbc17310ff2c8eccd096f19764e02d4c1 in deltaspike's branch refs/heads/master from [~johndament]
[ https://git-wip-us.apache.org/repos/asf?p=deltaspike.git;h=fbf62e3 ]

DELTASPIKE-1252 - Clarifying text for what can be returned.


> data-documentation missing Optional return value
> ------------------------------------------------
>
>                 Key: DELTASPIKE-1252
>                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1252
>             Project: DeltaSpike
>          Issue Type: Bug
>          Components: Data-Module, Documentation
>    Affects Versions: 1.7.2
>            Reporter: Jan Matèrne
>            Assignee: John D. Ament
>            Priority: Minor
>             Fix For: 1.8.1
>
>
> http://deltaspike.apache.org/documentation/data.html lists the format for methods:
> (Entity|List<Entity>) (prefix)(Property[Comparator]){Operator Property [Comparator]}
> Here java.util.Optional is missing:
> "(Entity|Optional<Entity>|List<Entity>) (prefix)(Property[Comparator]){Operator Property [Comparator]}
>  
> Or in more concrete words:
> •	The query method must either return an entity or an java.util.Optional or a list of entities.
> •	It must start with the findBy prefix ..."



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)