PlantUmlClassDiagramGenerator
PlantUmlClassDiagramGenerator copied to clipboard
Added support for C# 9 record type
Fixed Issue #42
Added override for VisitRecordDeclaration
to add suuport for C# records.
Records are added as class <<record>>
to the PlantUML output.
Other than class
record can have a parameter list. This creates a constructor with that parameter list as well as properties. I only added properties to the PlantUML output, but not the constructors.
I also updated the README.md accordingly.
@pierre3 tagging for visibility.
I'm also looking forward to record addition.
Just tried to use this package in VSCode with records and got the following error
When I built the repo with changes from the PR it worked just fine. As far as I'm concerned this PR looks good to merge 👍
Is there a reason why this is being blocked?
We need this support for C# records, too. This is crucial for all modern C# projects. @pierre3 could you merge this, please? I would be ever so grateful.
@pierre3 tagging again for visibility.
Hello, This branch has been marge with Main?
Perhaps @DrPepperBianco could create a new nuget package with the updated code. As @pierre3 seems to be unavailble / not maining this anymore.
Pinging for attention, again.
@DrPepperBianco @pierre3
Thanks @DrPepperBianco. Do you feel comfortable opening issues in your repo & perhaps setting up a new nuget package feed?
@DrPepperBianco Thank you for your patience.
I added test code and fixed some issues, and merged.
- Added support for "record struct".
- Fixed the issue that generics type properties are not output
b79b59eb837d49748afcc0637ddddd680e5cfef2