uon-nuget / UoN.ExpressiveAnnotations.NetCore

Annotation-based conditional validation library.
Other
29 stars 12 forks source link

Fixed bug preventing multiple annotations of the same type per property #21

Closed MmmBerry closed 5 years ago

MmmBerry commented 5 years ago

Removed call to reset suffix allocation in ExpressiveValidator base class constructor. This reset was relevant in the Framework version of EA but the Core version constructs client-side validation differently and needs to retain all of the session cache data throughout the session in order to recognise multiple annotations of the same type on a given property and assign them unique IDs.