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)