Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.2.0
-
Component/s: DSL for Data Contract
-
Labels:None
-
Number of attachments :
Description
The fromDto operation in DTO's does not work in the following circumstances.
- The Dto has other nested DTO's.
- New DTO's have been added based on existing BusinessClasses
- The new DTO is not already somewhere in the original DTO graph
In this case the Translator must read the Business object. The solution is to enable the translators to access the Dao's directly. This skips the domain layer. It seems that the dao should be promoted to act as a (DDD) repository on the domain layer. The current solution is to directly use the daos to retrieve objects needed during translation.
Jos, is this issue fixed?