{"action":"opened","number":21,"pull_request":{"url":"https://api.github.com/repos/wraithgar/hapi-json-api/pulls/21","id":61117100,"html_url":"https://github.com/wraithgar/hapi-json-api/pull/21","diff_url":"https://github.com/wraithgar/hapi-json-api/pull/21.diff","patch_url":"https://github.com/wraithgar/hapi-json-api/pull/21.patch","issue_url":"https://api.github.com/repos/wraithgar/hapi-json-api/issues/21","number":21,"state":"open","locked":false,"title":"chore(tests) add validation tests","user":{"login":"wraithgar","id":36607,"avatar_url":"https://avatars.githubusercontent.com/u/36607?v=3","gravatar_id":"","url":"https://api.github.com/users/wraithgar","html_url":"https://github.com/wraithgar","followers_url":"https://api.github.com/users/wraithgar/followers","following_url":"https://api.github.com/users/wraithgar/following{/other_user}","gists_url":"https://api.github.com/users/wraithgar/gists{/gist_id}","starred_url":"https://api.github.com/users/wraithgar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wraithgar/subscriptions","organizations_url":"https://api.github.com/users/wraithgar/orgs","repos_url":"https://api.github.com/users/wraithgar/repos","events_url":"https://api.github.com/users/wraithgar/events{/privacy}","received_events_url":"https://api.github.com/users/wraithgar/received_events","type":"User","site_admin":false},"body":"Ensure that failed validation returns proper objects through\r\nvarious points along the request lifecycle, including with a failAction\r\nconfigured.\r\n\r\nThis is an attempt at nailing down #20.  Not ready to merge yet because I can't reproduce it in tests yet.","created_at":"2016-02-29T17:53:14Z","updated_at":"2016-02-29T17:53:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wraithgar/hapi-json-api/pulls/21/commits","review_comments_url":"https://api.github.com/repos/wraithgar/hapi-json-api/pulls/21/comments","review_comment_url":"https://api.github.com/repos/wraithgar/hapi-json-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wraithgar/hapi-json-api/issues/21/comments","statuses_url":"https://api.github.com/repos/wraithgar/hapi-json-api/statuses/4f573e90bef05034f9c784758f52db9451159ea8","head":{"label":"wraithgar:validation","ref":"validation","sha":"4f573e90bef05034f9c784758f52db9451159ea8","user":{"login":"wraithgar","id":36607,"avatar_url":"https://avatars.githubusercontent.com/u/36607?v=3","gravatar_id":"","url":"https://api.github.com/users/wraithgar","html_url":"https://github.com/wraithgar","followers_url":"https://api.github.com/users/wraithgar/followers","following_url":"https://api.github.com/users/wraithgar/following{/other_user}","gists_url":"https://api.github.com/users/wraithgar/gists{/gist_id}","starred_url":"https://api.github.com/users/wraithgar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wraithgar/subscriptions","organizations_url":"https://api.github.com/users/wraithgar/orgs","repos_url":"https://api.github.com/users/wraithgar/repos","events_url":"https://api.github.com/users/wraithgar/events{/privacy}","received_events_url":"https://api.github.com/users/wraithgar/received_events","type":"User","site_admin":false},"repo":{"id":37946584,"name":"hapi-json-api","full_name":"wraithgar/hapi-json-api","owner":{"login":"wraithgar","id":36607,"avatar_url":"https://avatars.githubusercontent.com/u/36607?v=3","gravatar_id":"","url":"https://api.github.com/users/wraithgar","html_url":"https://github.com/wraithgar","followers_url":"https://api.github.com/users/wraithgar/followers","following_url":"https://api.github.com/users/wraithgar/following{/other_user}","gists_url":"https://api.github.com/users/wraithgar/gists{/gist_id}","starred_url":"https://api.github.com/users/wraithgar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wraithgar/subscriptions","organizations_url":"https://api.github.com/users/wraithgar/orgs","repos_url":"https://api.github.com/users/wraithgar/repos","events_url":"https://api.github.com/users/wraithgar/events{/privacy}","received_events_url":"https://api.github.com/users/wraithgar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wraithgar/hapi-json-api","description":"hapi json-api plugin","fork":false,"url":"https://api.github.com/repos/wraithgar/hapi-json-api","forks_url":"https://api.github.com/repos/wraithgar/hapi-json-api/forks","keys_url":"https://api.github.com/repos/wraithgar/hapi-json-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wraithgar/hapi-json-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wraithgar/hapi-json-api/teams","hooks_url":"https://api.github.com/repos/wraithgar/hapi-json-api/hooks","issue_events_url":"https://api.github.com/repos/wraithgar/hapi-json-api/issues/events{/number}","events_url":"https://api.github.com/repos/wraithgar/hapi-json-api/events","assignees_url":"https://api.github.com/repos/wraithgar/hapi-json-api/assignees{/user}","branches_url":"https://api.github.com/repos/wraithgar/hapi-json-api/branches{/branch}","tags_url":"https://api.github.com/repos/wraithgar/hapi-json-api/tags","blobs_url":"https://api.github.com/repos/wraithgar/hapi-json-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wraithgar/hapi-json-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wraithgar/hapi-json-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/wraithgar/hapi-json-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wraithgar/hapi-json-api/statuses/{sha}","languages_url":"https://api.github.com/repos/wraithgar/hapi-json-api/languages","stargazers_url":"https://api.github.com/repos/wraithgar/hapi-json-api/stargazers","contributors_url":"https://api.github.com/repos/wraithgar/hapi-json-api/contributors","subscribers_url":"https://api.github.com/repos/wraithgar/hapi-json-api/subscribers","subscription_url":"https://api.github.com/repos/wraithgar/hapi-json-api/subscription","commits_url":"https://api.github.com/repos/wraithgar/hapi-json-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/wraithgar/hapi-json-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/wraithgar/hapi-json-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/wraithgar/hapi-json-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/wraithgar/hapi-json-api/contents/{+path}","compare_url":"https://api.github.com/repos/wraithgar/hapi-json-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wraithgar/hapi-json-api/merges","archive_url":"https://api.github.com/repos/wraithgar/hapi-json-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wraithgar/hapi-json-api/downloads","issues_url":"https://api.github.com/repos/wraithgar/hapi-json-api/issues{/number}","pulls_url":"https://api.github.com/repos/wraithgar/hapi-json-api/pulls{/number}","milestones_url":"https://api.github.com/repos/wraithgar/hapi-json-api/milestones{/number}","notifications_url":"https://api.github.com/repos/wraithgar/hapi-json-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wraithgar/hapi-json-api/labels{/name}","releases_url":"https://api.github.com/repos/wraithgar/hapi-json-api/releases{/id}","deployments_url":"https://api.github.com/repos/wraithgar/hapi-json-api/deployments","created_at":"2015-06-23T21:40:32Z","updated_at":"2016-02-01T22:37:22Z","pushed_at":"2016-02-29T17:52:47Z","git_url":"git://github.com/wraithgar/hapi-json-api.git","ssh_url":"git@github.com:wraithgar/hapi-json-api.git","clone_url":"https://github.com/wraithgar/hapi-json-api.git","svn_url":"https://github.com/wraithgar/hapi-json-api","homepage":null,"size":23,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":10,"default_branch":"master"}},"base":{"label":"wraithgar:master","ref":"master","sha":"a5ab1ff0bf377635495321240f8b2fba274b4c3e","user":{"login":"wraithgar","id":36607,"avatar_url":"https://avatars.githubusercontent.com/u/36607?v=3","gravatar_id":"","url":"https://api.github.com/users/wraithgar","html_url":"https://github.com/wraithgar","followers_url":"https://api.github.com/users/wraithgar/followers","following_url":"https://api.github.com/users/wraithgar/following{/other_user}","gists_url":"https://api.github.com/users/wraithgar/gists{/gist_id}","starred_url":"https://api.github.com/users/wraithgar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wraithgar/subscriptions","organizations_url":"https://api.github.com/users/wraithgar/orgs","repos_url":"https://api.github.com/users/wraithgar/repos","events_url":"https://api.github.com/users/wraithgar/events{/privacy}","received_events_url":"https://api.github.com/users/wraithgar/received_events","type":"User","site_admin":false},"repo":{"id":37946584,"name":"hapi-json-api","full_name":"wraithgar/hapi-json-api","owner":{"login":"wraithgar","id":36607,"avatar_url":"https://avatars.githubusercontent.com/u/36607?v=3","gravatar_id":"","url":"https://api.github.com/users/wraithgar","html_url":"https://github.com/wraithgar","followers_url":"https://api.github.com/users/wraithgar/followers","following_url":"https://api.github.com/users/wraithgar/following{/other_user}","gists_url":"https://api.github.com/users/wraithgar/gists{/gist_id}","starred_url":"https://api.github.com/users/wraithgar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wraithgar/subscriptions","organizations_url":"https://api.github.com/users/wraithgar/orgs","repos_url":"https://api.github.com/users/wraithgar/repos","events_url":"https://api.github.com/users/wraithgar/events{/privacy}","received_events_url":"https://api.github.com/users/wraithgar/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wraithgar/hapi-json-api","description":"hapi json-api plugin","fork":false,"url":"https://api.github.com/repos/wraithgar/hapi-json-api","forks_url":"https://api.github.com/repos/wraithgar/hapi-json-api/forks","keys_url":"https://api.github.com/repos/wraithgar/hapi-json-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wraithgar/hapi-json-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wraithgar/hapi-json-api/teams","hooks_url":"https://api.github.com/repos/wraithgar/hapi-json-api/hooks","issue_events_url":"https://api.github.com/repos/wraithgar/hapi-json-api/issues/events{/number}","events_url":"https://api.github.com/repos/wraithgar/hapi-json-api/events","assignees_url":"https://api.github.com/repos/wraithgar/hapi-json-api/assignees{/user}","branches_url":"https://api.github.com/repos/wraithgar/hapi-json-api/branches{/branch}","tags_url":"https://api.github.com/repos/wraithgar/hapi-json-api/tags","blobs_url":"https://api.github.com/repos/wraithgar/hapi-json-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wraithgar/hapi-json-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wraithgar/hapi-json-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/wraithgar/hapi-json-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wraithgar/hapi-json-api/statuses/{sha}","languages_url":"https://api.github.com/repos/wraithgar/hapi-json-api/languages","stargazers_url":"https://api.github.com/repos/wraithgar/hapi-json-api/stargazers","contributors_url":"https://api.github.com/repos/wraithgar/hapi-json-api/contributors","subscribers_url":"https://api.github.com/repos/wraithgar/hapi-json-api/subscribers","subscription_url":"https://api.github.com/repos/wraithgar/hapi-json-api/subscription","commits_url":"https://api.github.com/repos/wraithgar/hapi-json-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/wraithgar/hapi-json-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/wraithgar/hapi-json-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/wraithgar/hapi-json-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/wraithgar/hapi-json-api/contents/{+path}","compare_url":"https://api.github.com/repos/wraithgar/hapi-json-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wraithgar/hapi-json-api/merges","archive_url":"https://api.github.com/repos/wraithgar/hapi-json-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wraithgar/hapi-json-api/downloads","issues_url":"https://api.github.com/repos/wraithgar/hapi-json-api/issues{/number}","pulls_url":"https://api.github.com/repos/wraithgar/hapi-json-api/pulls{/number}","milestones_url":"https://api.github.com/repos/wraithgar/hapi-json-api/milestones{/number}","notifications_url":"https://api.github.com/repos/wraithgar/hapi-json-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wraithgar/hapi-json-api/labels{/name}","releases_url":"https://api.github.com/repos/wraithgar/hapi-json-api/releases{/id}","deployments_url":"https://api.github.com/repos/wraithgar/hapi-json-api/deployments","created_at":"2015-06-23T21:40:32Z","updated_at":"2016-02-01T22:37:22Z","pushed_at":"2016-02-29T17:52:47Z","git_url":"git://github.com/wraithgar/hapi-json-api.git","ssh_url":"git@github.com:wraithgar/hapi-json-api.git","clone_url":"https://github.com/wraithgar/hapi-json-api.git","svn_url":"https://github.com/wraithgar/hapi-json-api","homepage":null,"size":23,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":6,"forks":2,"open_issues":6,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wraithgar/hapi-json-api/pulls/21"},"html":{"href":"https://github.com/wraithgar/hapi-json-api/pull/21"},"issue":{"href":"https://api.github.com/repos/wraithgar/hapi-json-api/issues/21"},"comments":{"href":"https://api.github.com/repos/wraithgar/hapi-json-api/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/wraithgar/hapi-json-api/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/wraithgar/hapi-json-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wraithgar/hapi-json-api/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/wraithgar/hapi-json-api/statuses/4f573e90bef05034f9c784758f52db9451159ea8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":113,"deletions":136,"changed_files":2}}