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/01/26 07:10:00 UTC

[jira] [Commented] (ISIS-2498) Remove requirement for Mixins to actually store their holder.

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

Andi Huber commented on ISIS-2498:
----------------------------------

Place to start is the MixinFacetAbstract with its (holder) field search function. Get rid of that!

> Remove requirement for Mixins to actually store their holder.
> -------------------------------------------------------------
>
>                 Key: ISIS-2498
>                 URL: https://issues.apache.org/jira/browse/ISIS-2498
>             Project: Isis
>          Issue Type: Improvement
>          Components: Isis Core
>            Reporter: Andi Huber
>            Assignee: Andi Huber
>            Priority: Major
>             Fix For: 2.0.0-M6
>
>
> Keep our programming model with mixins as it is (contract by constructor), but don't strictly require mixins to actually store the holder that they are associated with. We only require this now, because of implementation details of the framework.
> Currently we do a reflective field search in the mixins to get hold of the holder instance which is not guaranteed to work due to potential ambiguity.



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