polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niclas Hedhman (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (POLYGENE-54) Support more use-cases in toEntity/toValue mechanism
Date Mon, 10 Apr 2017 04:06:41 GMT

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

Niclas Hedhman resolved POLYGENE-54.
------------------------------------
    Resolution: Fixed

ToValueConverter and ToEntityConverter can be registered on the Usecase of the UnitOfWork
or the UnitOfWork itself, to perform state modification in the conversion process.

> Support more use-cases in toEntity/toValue mechanism
> ----------------------------------------------------
>
>                 Key: POLYGENE-54
>                 URL: https://issues.apache.org/jira/browse/POLYGENE-54
>             Project: Polygene
>          Issue Type: Bug
>            Reporter: Paul Merlin
>            Assignee: Niclas Hedhman
>              Labels: unitofwork
>             Fix For: 3.0
>
>
> See discussion at http://markmail.org/message/yqzezcovwieu6ev3
> Now deprecated Conversion Library has support for type-relaxed conversion plus a way
to insert custom conversion code. New toEntity/toValue support in UnitOfWork don't.
> Some use-cases:
> - don't expose the whole state (eg. password hashes)
> - computed/transformed state (eg. entity state ~ value state)
> This issue is about finding additional solutions to support theses usecases in the toEntity/toValue
mechanism.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message