File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,7 +68,8 @@ func (arc *Arch) buildStrategicArchGraph() (*Diagram, error) {
6868 return nil , err
6969 }
7070 if a .Entity == nil {
71- return nil , fmt .Errorf ("aggregate %s has no entity" , a .Name )
71+ fmt .Printf ("warn: strategic aggregate %s has no entity" , a .Name )
72+ continue
7273 }
7374
7475 if err := g .AddObjTo (a , g .Name (), arch .RelationTypeAggregationRoot ); err != nil {
@@ -169,7 +170,8 @@ func (arc *Arch) buildTacticArchGraph() (*Diagram, error) {
169170 return nil , err
170171 }
171172 if a .Entity == nil {
172- return nil , fmt .Errorf ("aggregate %s has no entity" , a .Name )
173+ fmt .Printf ("warn: tactic aggregate %s has no entity" , a .Name )
174+ continue
173175 }
174176 if err := dm .addAggregateToDiagram (g , ag , a ); err != nil {
175177 return nil , err
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ func getBuildInfo() *buildInfo {
112112var CurrentVersion = Version {
113113 Major : 0 ,
114114 Minor : 4 ,
115- PatchLevel : 0 ,
115+ PatchLevel : 1 ,
116116 Suffix : "" ,
117117}
118118
You can’t perform that action at this time.
0 commit comments