{"action":"created","issue":{"url":"https://api.github.com/repos/dry-rb/dry-validation/issues/220","repository_url":"https://api.github.com/repos/dry-rb/dry-validation","labels_url":"https://api.github.com/repos/dry-rb/dry-validation/issues/220/labels{/name}","comments_url":"https://api.github.com/repos/dry-rb/dry-validation/issues/220/comments","events_url":"https://api.github.com/repos/dry-rb/dry-validation/issues/220/events","html_url":"https://github.com/dry-rb/dry-validation/issues/220","id":166773231,"number":220,"title":"Result#messages(full: true) returns the same output of #messages","user":{"login":"jodosha","id":5089,"avatar_url":"https://avatars.githubusercontent.com/u/5089?v=3","gravatar_id":"","url":"https://api.github.com/users/jodosha","html_url":"https://github.com/jodosha","followers_url":"https://api.github.com/users/jodosha/followers","following_url":"https://api.github.com/users/jodosha/following{/other_user}","gists_url":"https://api.github.com/users/jodosha/gists{/gist_id}","starred_url":"https://api.github.com/users/jodosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodosha/subscriptions","organizations_url":"https://api.github.com/users/jodosha/orgs","repos_url":"https://api.github.com/users/jodosha/repos","events_url":"https://api.github.com/users/jodosha/events{/privacy}","received_events_url":"https://api.github.com/users/jodosha/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dry-rb/dry-validation/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-21T09:16:44Z","updated_at":"2016-07-22T08:57:58Z","closed_at":"2016-07-22T08:54:09Z","body":"```ruby\r\n(byebug) result\r\n#<Dry::Validation::Result output={} messages={:foo=>[\"is missing\", \"must be greater than 23\"]}>\r\n(byebug) result.messages\r\n{:foo=>[\"is missing\", \"must be greater than 23\"]}\r\n(byebug) result.messages(full: true)\r\n{:foo=>[\"is missing\", \"must be greater than 23\"]}\r\n```"},"comment":{"url":"https://api.github.com/repos/dry-rb/dry-validation/issues/comments/234491233","html_url":"https://github.com/dry-rb/dry-validation/issues/220#issuecomment-234491233","issue_url":"https://api.github.com/repos/dry-rb/dry-validation/issues/220","id":234491233,"user":{"login":"fran-worley","id":2316837,"avatar_url":"https://avatars.githubusercontent.com/u/2316837?v=3","gravatar_id":"","url":"https://api.github.com/users/fran-worley","html_url":"https://github.com/fran-worley","followers_url":"https://api.github.com/users/fran-worley/followers","following_url":"https://api.github.com/users/fran-worley/following{/other_user}","gists_url":"https://api.github.com/users/fran-worley/gists{/gist_id}","starred_url":"https://api.github.com/users/fran-worley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fran-worley/subscriptions","organizations_url":"https://api.github.com/users/fran-worley/orgs","repos_url":"https://api.github.com/users/fran-worley/repos","events_url":"https://api.github.com/users/fran-worley/events{/privacy}","received_events_url":"https://api.github.com/users/fran-worley/received_events","type":"User","site_admin":false},"created_at":"2016-07-22T08:57:58Z","updated_at":"2016-07-22T08:57:58Z","body":"@solnic this is going to be an issue in Reform. Reform collates errors from different schemas into its own errors API, we will need to run the call once for standard and again for full so our users get the choice between the two at run time.\r\n\r\nA better solution would be to be able to grab the message_set (like we discussed) and then convert between full and normal when needed. That way we don't have to run the compilers twice.\r\n\r\nI'll raise this as a separate issue to avoid confusion between the reform use can and Hanami's."}}
{"actor":{"display_login":"fran-worley"}}