{"action":"created","issue":{"url":"https://api.github.com/repos/grofit/treacherous/issues/19","repository_url":"https://api.github.com/repos/grofit/treacherous","labels_url":"https://api.github.com/repos/grofit/treacherous/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/grofit/treacherous/issues/19/comments","events_url":"https://api.github.com/repos/grofit/treacherous/issues/19/events","html_url":"https://github.com/grofit/treacherous/issues/19","id":167525394,"number":19,"title":"Validation on group construction","user":{"login":"MaximBalaganskiy","id":3712700,"avatar_url":"https://avatars.githubusercontent.com/u/3712700?v=3","gravatar_id":"","url":"https://api.github.com/users/MaximBalaganskiy","html_url":"https://github.com/MaximBalaganskiy","followers_url":"https://api.github.com/users/MaximBalaganskiy/followers","following_url":"https://api.github.com/users/MaximBalaganskiy/following{/other_user}","gists_url":"https://api.github.com/users/MaximBalaganskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/MaximBalaganskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaximBalaganskiy/subscriptions","organizations_url":"https://api.github.com/users/MaximBalaganskiy/orgs","repos_url":"https://api.github.com/users/MaximBalaganskiy/repos","events_url":"https://api.github.com/users/MaximBalaganskiy/events{/privacy}","received_events_url":"https://api.github.com/users/MaximBalaganskiy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-26T05:42:14Z","updated_at":"2016-07-26T07:12:43Z","closed_at":null,"body":"Validation happens immediately in validation group constructor. Having UI validation in mind, it would be better to not validate straightaway so that just loaded empty form does not have error messages"},"comment":{"url":"https://api.github.com/repos/grofit/treacherous/issues/comments/235181673","html_url":"https://github.com/grofit/treacherous/issues/19#issuecomment-235181673","issue_url":"https://api.github.com/repos/grofit/treacherous/issues/19","id":235181673,"user":{"login":"grofit","id":927201,"avatar_url":"https://avatars.githubusercontent.com/u/927201?v=3","gravatar_id":"","url":"https://api.github.com/users/grofit","html_url":"https://github.com/grofit","followers_url":"https://api.github.com/users/grofit/followers","following_url":"https://api.github.com/users/grofit/following{/other_user}","gists_url":"https://api.github.com/users/grofit/gists{/gist_id}","starred_url":"https://api.github.com/users/grofit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grofit/subscriptions","organizations_url":"https://api.github.com/users/grofit/orgs","repos_url":"https://api.github.com/users/grofit/repos","events_url":"https://api.github.com/users/grofit/events{/privacy}","received_events_url":"https://api.github.com/users/grofit/received_events","type":"User","site_admin":false},"created_at":"2016-07-26T07:12:43Z","updated_at":"2016-07-26T07:12:43Z","body":"Problem is UI is the exception here not the rule, generally you want all validation to occur as soon as possible, now I agree you may not want that to be displayed in the UI however I currently see that as a UI problem not a treacherous problem.\r\n\r\nThere are currently some discussions happening around being able to restrict validation based upon predicates `appliesIf` which is currently available in `0.10.0` however we still need to talk around the \"reason\" aspect so you could specify that something should only be validated if it is an explicit call not automatic change.\r\n\r\nOnce those discussions are had you should be able to do some of this at the treacherous level."}}
{"actor":{"display_login":"grofit"}}