ArchUnitNET icon indicating copy to clipboard operation
ArchUnitNET copied to clipboard

Slice names have only the dynamic part

Open kirchsth opened this issue 4 years ago • 1 comments

I want to create a plantuml diagram based on found errors, eg.

            IArchRule noCycles = SliceRuleDefinition.Slices().Matching("ArchUnitNET.(*)").Should().BeFreeOfCycles();
            noCycles.Check(Architecture);

but the found slices are all without the "ArchUnitNet." prefix (e.g. "Fluent", but I would expect "ArchUnitNET.Fluent"). Is it possible to add a "full name" property to the slices with the fix parts too?

Thank you and best regards Helmut

PS.: Atm I use C4-PlantUML but maybe I can extend add a better namesspaces/classes diagram too

simple

detailed

With correct Namespace it could look like correct namespace

kirchsth avatar Sep 09 '21 19:09 kirchsth

Hi, I like the diagrams very much. Agreed, the FullName property for the Slices is useful and we should implement it. I can try to do that myself, but I'm also open to Pull-requests ;)

Best Regards, Florian

fgather avatar Sep 10 '21 09:09 fgather

@andredered, was this fixed by one of your latest PRs?

fgather avatar Sep 27 '22 22:09 fgather

@fgather

Hmm, the last PR with C4 remains, and yes, I think, it is ready. The remaining possible moment: adding inscriptions. I think it should be implemented for some specific cases.

In principle, after C4, you can close the Issue

andredered avatar Oct 05 '22 12:10 andredered

@kirchsth , does the change work for you? Feel free to reopen, if you expected something different.

fgather avatar Oct 13 '22 08:10 fgather