{"action":"created","issue":{"url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/255","repository_url":"https://api.github.com/repos/nicolaiarocci/cerberus","labels_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/255/labels{/name}","comments_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/255/comments","events_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/255/events","html_url":"https://github.com/nicolaiarocci/cerberus/pull/255","id":173366385,"number":255,"title":"fix issue #250","user":{"login":"daviskirk","id":1049817,"avatar_url":"https://avatars.githubusercontent.com/u/1049817?v=3","gravatar_id":"","url":"https://api.github.com/users/daviskirk","html_url":"https://github.com/daviskirk","followers_url":"https://api.github.com/users/daviskirk/followers","following_url":"https://api.github.com/users/daviskirk/following{/other_user}","gists_url":"https://api.github.com/users/daviskirk/gists{/gist_id}","starred_url":"https://api.github.com/users/daviskirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviskirk/subscriptions","organizations_url":"https://api.github.com/users/daviskirk/orgs","repos_url":"https://api.github.com/users/daviskirk/repos","events_url":"https://api.github.com/users/daviskirk/events{/privacy}","received_events_url":"https://api.github.com/users/daviskirk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/nicolaiarocci/cerberus/milestones/1","html_url":"https://github.com/nicolaiarocci/cerberus/milestones/1.0","labels_url":"https://api.github.com/repos/nicolaiarocci/cerberus/milestones/1/labels","id":1176763,"number":1,"title":"1.0","description":"","creator":{"login":"nicolaiarocci","id":512968,"avatar_url":"https://avatars.githubusercontent.com/u/512968?v=3","gravatar_id":"","url":"https://api.github.com/users/nicolaiarocci","html_url":"https://github.com/nicolaiarocci","followers_url":"https://api.github.com/users/nicolaiarocci/followers","following_url":"https://api.github.com/users/nicolaiarocci/following{/other_user}","gists_url":"https://api.github.com/users/nicolaiarocci/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolaiarocci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolaiarocci/subscriptions","organizations_url":"https://api.github.com/users/nicolaiarocci/orgs","repos_url":"https://api.github.com/users/nicolaiarocci/repos","events_url":"https://api.github.com/users/nicolaiarocci/events{/privacy}","received_events_url":"https://api.github.com/users/nicolaiarocci/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":18,"state":"open","created_at":"2015-06-23T06:48:01Z","updated_at":"2016-08-26T06:22:02Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-08-26T04:09:54Z","updated_at":"2016-08-26T14:04:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nicolaiarocci/cerberus/pulls/255","html_url":"https://github.com/nicolaiarocci/cerberus/pull/255","diff_url":"https://github.com/nicolaiarocci/cerberus/pull/255.diff","patch_url":"https://github.com/nicolaiarocci/cerberus/pull/255.patch"},"body":"This is a start at fixing issue #250 \r\nI looked into this and the problem seems to be that by passing a mapping, the normalizer goes through the \"mapping normalizer\" code path, which leads to all sorts of problems once the boolean value of \"allow_unknown\" is encountered.  \r\nThe \"schema\" keyword means something different when set in the context of a sequence (in a mapping, the top level of the schema dictionary defines keys of the schema, in a sequence, it defines the top level is equivalent to the second level of a mapping schema), resulting in the exceptions thrown at the normalization stage.\r\nThis has probably been discussed before but if not, it might be sensible to use a different keyword for the lists \"schema\" like \"itemschema\" or something like that?"},"comment":{"url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/comments/242744458","html_url":"https://github.com/nicolaiarocci/cerberus/pull/255#issuecomment-242744458","issue_url":"https://api.github.com/repos/nicolaiarocci/cerberus/issues/255","id":242744458,"user":{"login":"daviskirk","id":1049817,"avatar_url":"https://avatars.githubusercontent.com/u/1049817?v=3","gravatar_id":"","url":"https://api.github.com/users/daviskirk","html_url":"https://github.com/daviskirk","followers_url":"https://api.github.com/users/daviskirk/followers","following_url":"https://api.github.com/users/daviskirk/following{/other_user}","gists_url":"https://api.github.com/users/daviskirk/gists{/gist_id}","starred_url":"https://api.github.com/users/daviskirk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daviskirk/subscriptions","organizations_url":"https://api.github.com/users/daviskirk/orgs","repos_url":"https://api.github.com/users/daviskirk/repos","events_url":"https://api.github.com/users/daviskirk/events{/privacy}","received_events_url":"https://api.github.com/users/daviskirk/received_events","type":"User","site_admin":false},"created_at":"2016-08-26T14:04:37Z","updated_at":"2016-08-26T14:04:37Z","body":"I added a note to the docs, wasn't sure whether to put something under the `schema` rule, but since it really only gets hairy when you don't define a `type` rule I would think that's the better place for it."}}
{"actor":{"display_login":"daviskirk"}}