You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Oscar Bou (JIRA)" <ji...@apache.org> on 2018/01/05 13:09:11 UTC

[jira] [Created] (ISIS-1807) Wrap Domain Entities by default

Oscar Bou created ISIS-1807:
-------------------------------

             Summary: Wrap Domain Entities by default
                 Key: ISIS-1807
                 URL: https://issues.apache.org/jira/browse/ISIS-1807
             Project: Isis
          Issue Type: Improvement
          Components: Core
    Affects Versions: 2.0.0
            Reporter: Oscar Bou


This way, all hide/disable/validate constraints, and other constraints/invariants forced through actions, are always ensured by default.

This will require to wrap by default:
* New Domain Entity instances / objects (ie, changes on FactoryService).
* Domain Entities returned by queries (ie, changes on RepositoryService).

Users might disable this new default behaviour through configuration, as some projects can prioritize performance (avoiding wrapping invocations) vs Domain constraints/invariants enforcement.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)