jwaliszko / ExpressiveAnnotations

Annotation-based conditional validation library.
MIT License
351 stars 124 forks source link

#214 Concurrent validation using RequiredIfAttribute throws NullReferenceException #215

Open xhafan opened 1 year ago

xhafan commented 1 year ago

Fixing ExpressiveAttribute temporarily setting PropertyType to null on a shared attribute instance, causing other threads to throw NullReferenceException

xhafan commented 1 year ago

This was also fixed for UoN.ExpressiveAnnotations.NetCore: https://github.com/uon-nuget/UoN.ExpressiveAnnotations.NetCore/pull/33