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 2021/08/23 14:25:00 UTC

[jira] [Resolved] (ISIS-2737) Metamodel: accept Can as vector type (along java.util.Collection)

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

Andi Huber resolved ISIS-2737.
------------------------------
    Resolution: Resolved

Allows for code constructs like
{code:java}
    @Action
    public Can<String> actionWithCan(final Can<String> canOfString) {
        return canOfString;
    }

    @MemberSupport
    public Can<String> choices0ActionWithCan() {
        return Can.of("one", "two", "three");
    }
{code}

> Metamodel: accept Can<T> as vector type (along java.util.Collection)
> --------------------------------------------------------------------
>
>                 Key: ISIS-2737
>                 URL: https://issues.apache.org/jira/browse/ISIS-2737
>             Project: Isis
>          Issue Type: Improvement
>          Components: Isis Core
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0-M7
>
>
> eg. UserMemento#getRoles() : Can<RoleMemento> fails with see comment ...



--
This message was sent by Atlassian Jira
(v8.3.4#803005)