Skip to content

Commit

Permalink
Merge pull request #29 from mxlint/bugfix/complex-model
Browse files Browse the repository at this point in the history
Microflow transformation is still buggy. Put behind feature flag
  • Loading branch information
xiwenc authored Feb 5, 2025
2 parents b126b29 + 302c1bb commit 664ca21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mpr/mpr.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ func getMxDocuments(units []MxUnit, folders []MxFolder, mode string) ([]MxDocume
Path: getMxDocumentPath(unit.ContainerID, folders),
Attributes: unit.Contents,
}
if unit.Contents["$Type"] == "Microflows$Microflow" {

if mode == "advanced" && unit.Contents["$Type"] == "Microflows$Microflow" {
myDocument = transformMicroflow(myDocument)
}
documents = append(documents, myDocument)
Expand Down

0 comments on commit 664ca21

Please sign in to comment.