Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.0.0
-
Component/s: DSL for Services
-
Labels:None
-
Number of attachments :
Description
The code generated for e.g. an Update service method called a Read service method to get the object to update.
Hopwever if there is no Read method for the type of DTO, this results in a compilation error ()cannot find read*** method).
In the service DSL validation rules should check for this kind of dependency between service methods.
A second issue which is closely realted is that the name of the Read method that is generetd in the Updat method is the sntadard read name. If the needed Read method has a different name the names do not match.
Solved by adding a number of validation rules. The READ method is mandatory for UPDATE, DELETE, REMOVEFROM, GETFROM and ADDTO methods.