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
I have a reasonably complex object graph, and want to be able to split up the validation of these objects into smaller unit testable chunks, yet retain the nested property structure provided when you validate inline such as the example:
Hi, I agree, each class should know how to validate himself and if it's validation haven't got any complex condition depending on sibling objects call it internal validation rules look like pretty good
I have a reasonably complex object graph, and want to be able to split up the validation of these objects into smaller unit testable chunks, yet retain the nested property structure provided when you validate inline such as the example:
Is it possible to have the
company.city
validation in another class, yet called inline?The text was updated successfully, but these errors were encountered: