You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValidatableModel uses System.ComponentModel.DataAnnotations for validation. Unfortunately, it does not support recursively validation of properties.
I encountered the situation where I have to validate an entire object graph and not only a single object (Application type: WPF and Xamarin Forms). I came up with a specific solution for my domain build upon the ValidatableModel class.
Idea: Provide a generic working solution for recursively validation of properties.
Validate an entire object graph (consider cycles)
Integrate the solution into ValidatableModel
Compatible to System.ComponentModel.DataAnnotations
Support for complex type properties and collections of complex types
Related GitHub .NET Issue with a proposal for such a solution
ValidatableModel
usesSystem.ComponentModel.DataAnnotations
for validation. Unfortunately, it does not support recursively validation of properties.I encountered the situation where I have to validate an entire object graph and not only a single object (Application type: WPF and Xamarin Forms). I came up with a specific solution for my domain build upon the
ValidatableModel
class.Idea: Provide a generic working solution for recursively validation of properties.
ValidatableModel
System.ComponentModel.DataAnnotations
Related GitHub .NET Issue with a proposal for such a solution
The text was updated successfully, but these errors were encountered: