File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
domain-classes-generator/src/main/scala/flatgraph/codegen Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1175,7 +1175,7 @@ class DomainClassesGenerator(schema: Schema) {
11751175 val propertyNamesSource = schema.properties.map(p => propertyNameConstantDef(p.comment, p.name)).mkString(" \n " )
11761176 val containedNodeLocalNames = schema.nodeTypes.flatMap(_.containedNodes).map(_.localName)
11771177 val containedNodesSource =
1178- containedNodeLocalNames.map(n => propertyNameConstantDef(Option (" This is a contained node" ), n)).toSet .mkString(" \n " )
1178+ containedNodeLocalNames.map(n => propertyNameConstantDef(Option (" This is a contained node" ), n)).distinct.sorted .mkString(" \n " )
11791179 val allNames =
11801180 (schema.properties.map(p => p.name) ++ containedNodeLocalNames).map(camelCaseCaps).mkString(" ,\n " )
11811181 val propertyNamesFile = outputDir / " PropertyNames.scala"
You can’t perform that action at this time.
0 commit comments