pierre3 / PlantUmlClassDiagramGenerator

This is a generator to create a class-diagram of PlantUML from the C# source code.
MIT License
683 stars 133 forks source link

Properties that are arrays of simple types are not part of created plantuml, if "Create Association" is enabled #94

Open MartinOSchmidt opened 9 months ago

MartinOSchmidt commented 9 months ago

A property like e.g. SomeStringValues in below class

public abstract class MyClass
{
    public string[] SomeStringValues { get; }
    public string SomeString {get;}
}

won't become part of the created *.puml, if "Create Association" option is enabled.

I guess the extension tries to create an association for the array, but as there is no equivalent c#-type(-name) for string[], the association-creation fails (but a simple array should anyhow not be treated like an association)