{"action":"closed","issue":{"url":"https://api.github.com/repos/sialcasa/mvvmFX/issues/358","repository_url":"https://api.github.com/repos/sialcasa/mvvmFX","labels_url":"https://api.github.com/repos/sialcasa/mvvmFX/issues/358/labels{/name}","comments_url":"https://api.github.com/repos/sialcasa/mvvmFX/issues/358/comments","events_url":"https://api.github.com/repos/sialcasa/mvvmFX/issues/358/events","html_url":"https://github.com/sialcasa/mvvmFX/issues/358","id":131210073,"number":358,"title":"Dynamic Validation Error Messages","user":{"login":"gtnarg","id":1252704,"avatar_url":"https://avatars.githubusercontent.com/u/1252704?v=3","gravatar_id":"","url":"https://api.github.com/users/gtnarg","html_url":"https://github.com/gtnarg","followers_url":"https://api.github.com/users/gtnarg/followers","following_url":"https://api.github.com/users/gtnarg/following{/other_user}","gists_url":"https://api.github.com/users/gtnarg/gists{/gist_id}","starred_url":"https://api.github.com/users/gtnarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtnarg/subscriptions","organizations_url":"https://api.github.com/users/gtnarg/orgs","repos_url":"https://api.github.com/users/gtnarg/repos","events_url":"https://api.github.com/users/gtnarg/events{/privacy}","received_events_url":"https://api.github.com/users/gtnarg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-04T01:29:47Z","updated_at":"2016-02-04T02:44:35Z","closed_at":"2016-02-04T02:44:35Z","body":"Ideally an error message is dynamic (i.e. contains context information) to make it more understandable to the user.  Currently, it appears that the creation of the validation message (which is immutable) is separated from the firing of the rule itself. \r\n\r\nIs there any way to create messages dynamically when the validation fails.  Instead of returning a Boolean to indicate that the validation has failed - you could return an error message.  If no error message is returned then you assume the rule has passed."}}