[ 
https://issues.apache.org/jira/browse/CAUSEWAY-3186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Keir Haywood reassigned CAUSEWAY-3186:
---------------------------------------------

    Fix Version/s: 2.1.0
                       (was: 2.0.0-RC5)
         Assignee:     (was: Andi Huber)

> [Validation] Fail early, if autoComplete/choice semantics is invalid
> --------------------------------------------------------------------
>
>                 Key: CAUSEWAY-3186
>                 URL: https://issues.apache.org/jira/browse/CAUSEWAY-3186
>             Project: Causeway
>          Issue Type: Improvement
>          Components: Applib (programming model)
>            Reporter: Andi Huber
>            Priority: Major
>             Fix For: 2.1.0
>
>
> given a mixin with a non-scalar param, with present or missing support
> {code:java}
> @MemberSupport public Collection<ApplicationRole> choicesInitialRole() {
>     return applicationRoleRepository.allRoles();
> }
> {code}
> then ...
> MM must fail on incompatible return type
> MM must fail on missing choice semantics
> MM must fail if bounded, but type is not an entity (eg. abstract)
> {noformat}
> @DomainObject(bounding = Bounding.BOUNDED)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to