Skip to content

Commit

Permalink
extend formatting to the domain-objects of a sculptor module not
Browse files Browse the repository at this point in the history
assigned to an aggregate
  • Loading branch information
astmuc committed Jan 15, 2025
1 parent 9e3dc1b commit f52c67f
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,11 @@ class ContextMappingDSLFormatter extends TacticDDDLanguageFormatter {
for (aggregate : module.aggregates) {
aggregate.format
}

for (domainObject : module.domainObjects) {
domainObject.format
domainObject.prepend[newLine]
}
}

def dispatch void format(Stakeholders stakeholderContainer, extension IFormattableDocument document) {
Expand Down

0 comments on commit f52c67f

Please sign in to comment.