ArchUnitNET
ArchUnitNET copied to clipboard
How to check if a property type is nullable
Hello, I'd like to check if a property type is nullable, but I don't think it's currently possible because of this PR which was merged a year ago. Maybe it makes sense to add an IsNullable property to IType so that the attribute still gets filtered and doesn't create conflict with other functions of the library, but you can still check if the type is nullable?
Hi @Auties00, with nullable, do you mean the C#8 nullable types? (e.g. int?)