You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@polygene.apache.org by "Niclas Hedhman (JIRA)" <ji...@apache.org> on 2016/09/03 03:31:20 UTC

[jira] [Resolved] (ZEST-173) Add a convenience method for converting Associations to Values

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

Niclas Hedhman resolved ZEST-173.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0

> Add a convenience method for converting Associations to Values
> --------------------------------------------------------------
>
>                 Key: ZEST-173
>                 URL: https://issues.apache.org/jira/browse/ZEST-173
>             Project: Zest
>          Issue Type: Improvement
>            Reporter: Niclas Hedhman
>            Assignee: Niclas Hedhman
>             Fix For: 3.0
>
>
> When converting an Entity to Value, the Associations are EntityReferences inside the Value, and can only be accessed within a UnitOfWork. And that is fine.
> But if I want to convert all those associations into values, a boilerplate code is needed over and over again. It would make a lot of sense to put these into the UnitOfWork itself.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)