{"action":"opened","issue":{"url":"https://api.github.com/repos/ckuhn203/Rubberduck.Winforms/issues/1","repository_url":"https://api.github.com/repos/ckuhn203/Rubberduck.Winforms","labels_url":"https://api.github.com/repos/ckuhn203/Rubberduck.Winforms/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ckuhn203/Rubberduck.Winforms/issues/1/comments","events_url":"https://api.github.com/repos/ckuhn203/Rubberduck.Winforms/issues/1/events","html_url":"https://github.com/ckuhn203/Rubberduck.Winforms/issues/1","id":133594895,"number":1,"title":"Support IValidatableObject","user":{"login":"ckuhn203","id":2716800,"avatar_url":"https://avatars.githubusercontent.com/u/2716800?v=3","gravatar_id":"","url":"https://api.github.com/users/ckuhn203","html_url":"https://github.com/ckuhn203","followers_url":"https://api.github.com/users/ckuhn203/followers","following_url":"https://api.github.com/users/ckuhn203/following{/other_user}","gists_url":"https://api.github.com/users/ckuhn203/gists{/gist_id}","starred_url":"https://api.github.com/users/ckuhn203/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ckuhn203/subscriptions","organizations_url":"https://api.github.com/users/ckuhn203/orgs","repos_url":"https://api.github.com/users/ckuhn203/repos","events_url":"https://api.github.com/users/ckuhn203/events{/privacy}","received_events_url":"https://api.github.com/users/ckuhn203/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-14T23:57:10Z","updated_at":"2016-02-14T23:57:10Z","closed_at":null,"body":"The change will need to be made [right around here][1] in `ModelBoundForm`. \r\n\r\n            Validator.TryValidateProperty(propertyValue, context, validationResults);\r\n            var validation = validationResults.FirstOrDefault();\r\n\r\nInstead of validating the individual property, we could validate the whole object and then the ValidationResults. \r\n\r\n        Validator.TryValidateObject(this.Model, context, validationResults);\r\n        var validation = validationResults.FirstOrDefault( v => v.MemberNames.Contains(boundField);\r\n\r\nOf course, this has the downside of repeatedly running validations. \r\nIt would be much nicer to perform and show all validations at once. \r\n"}}