ArchUnitNET icon indicating copy to clipboard operation
ArchUnitNET copied to clipboard

Constructor parameter Name returns the name of the type

Open mmisztal1980 opened this issue 1 year ago • 1 comments

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

mmisztal1980 avatar Jul 18 '24 10:07 mmisztal1980

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.

alexanderlinne avatar Apr 25 '25 10:04 alexanderlinne