ArchUnitNET
ArchUnitNET copied to clipboard
Constructor parameter Name returns the name of the type
Hello,
I wasn't able to find this information anywhere yet. I've noticed that the property Name in the constructor.Parameters returns the name of the parameter's type rather than the name of the parameter itself.
Is this intentional? I was looking to write some tests to validate parameter's names and types. Is this achievable this way, or should I try something else?
Best regards
Hi @mmisztal1980, ArchUnitNET captures only the type of parameters, so your use case is currently not supported. There are also currently no plans to support this, but I would leave this issue open for consideration in the future.