Skip to content

The exported model doesn't contain all nodes #653

@mpostol

Description

@mpostol

Describe the bug

Not all nodes are recognized following references starting from the selected to export nodes. Some nodes are not members of the complex types. Additionally, some nodes may be duplicated if they are targeted by many references.

To Reproduce

Analyze the result of UAObjectTypeTestMethod and recover the DI model

Tasks

  • selects all the nodes belonging to the namespace chosen and create a dictionary AllNodesInConcern
  • during exporting using an existing algorithm remove exported nodes from the AllNodesInConcern
  • export the nodes that have been not removed
  • Add one method AddorReturnNodeFactory with parameter key of int type
  • Add key generator in case AddNodeFactory is used or there is a key conflict
  • Move abstract implementation from validator to the modedel factory

Additional context

It contributes to:

Metadata

Metadata

Assignees

Labels

BugBug in the code.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions