You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2022/08/27 07:52:00 UTC

[jira] [Created] (ISIS-3186) [Validation] Fail early, if autoComplete/choice semantics is invalid

Andi Huber created ISIS-3186:
--------------------------------

             Summary: [Validation] Fail early, if autoComplete/choice semantics is invalid
                 Key: ISIS-3186
                 URL: https://issues.apache.org/jira/browse/ISIS-3186
             Project: Isis
          Issue Type: Improvement
          Components: Isis Applib (programming model)
            Reporter: Andi Huber
            Assignee: Andi Huber
             Fix For: 2.0.0-RC1


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)