-
-
Notifications
You must be signed in to change notification settings - Fork 38
Description
Is your feature request related to a problem? Please describe.
I enjoy the breadth and depth of support for the Sculpture concepts, such as the plugin syntax support for DataTransferObject and Resource The PlantUML generator doesn't seem as complete:
- Resource. Resources are currently ignored by the PlantUML generator.
- DataTransferObject. Also ignored, but PlantUML will render them implicitly (outside of the Aggregate) when referenced, such as in Service operations.
- Delegated operations. When an operation delegates to another (with the
=>syntax), PlantUML diagrams will only include the method name, ignoring return type and parameters.
Describe the solution you'd like
I believe the Class Diagram PlantUML generator should include the additional types Resource, DataTransferObject akin to ValueObject and Entity. (I am not concerned about colour choice.)
The delegated operations should probably be generated/rendered as copies of the original operation.
Describe alternatives you've considered
I cannot thing of any alternatives.
Additional context
- Definition of
=>http://sculptorgenerator.org/documentation/advanced-tutorial#servicesYou can easily delegate to an operation in a Repository or another Service. Then you only have to declare the name of the operation. Return type and parameters are “copied” from the delegate operation.
- Documentation and example with DataTransferObject, Resource and delegated operations: http://sculptorgenerator.org/documentation/rest-tutorial#data-transfer-object