{"action":"opened","number":1511,"pull_request":{"url":"https://api.github.com/repos/hapijs/joi/pulls/1511","id":190317114,"html_url":"https://github.com/hapijs/joi/pull/1511","diff_url":"https://github.com/hapijs/joi/pull/1511.diff","patch_url":"https://github.com/hapijs/joi/pull/1511.patch","issue_url":"https://api.github.com/repos/hapijs/joi/issues/1511","number":1511,"state":"open","locked":false,"title":"Add optional \"config\" param to array.unique for ignoreUndefined. Closes #1498","user":{"login":"WesTyler","id":12154939,"avatar_url":"https://avatars1.githubusercontent.com/u/12154939?v=4","gravatar_id":"","url":"https://api.github.com/users/WesTyler","html_url":"https://github.com/WesTyler","followers_url":"https://api.github.com/users/WesTyler/followers","following_url":"https://api.github.com/users/WesTyler/following{/other_user}","gists_url":"https://api.github.com/users/WesTyler/gists{/gist_id}","starred_url":"https://api.github.com/users/WesTyler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WesTyler/subscriptions","organizations_url":"https://api.github.com/users/WesTyler/orgs","repos_url":"https://api.github.com/users/WesTyler/repos","events_url":"https://api.github.com/users/WesTyler/events{/privacy}","received_events_url":"https://api.github.com/users/WesTyler/received_events","type":"User","site_admin":false},"body":"Add the optional second param to array.unique, per the discuss in #1498 .\r\n\r\nI named the param `configs` to avoid shadowing the already-defined `options` param in the test callback. Let me know if you prefer some other param name.","created_at":"2018-05-24T14:48:34Z","updated_at":"2018-05-24T14:48:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/hapijs/joi/pulls/1511/commits","review_comments_url":"https://api.github.com/repos/hapijs/joi/pulls/1511/comments","review_comment_url":"https://api.github.com/repos/hapijs/joi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hapijs/joi/issues/1511/comments","statuses_url":"https://api.github.com/repos/hapijs/joi/statuses/8071b8ab140f3c95d60ae6fd81e1de64c2e75332","head":{"label":"WesTyler:unique_ignoreUndefined_#1498","ref":"unique_ignoreUndefined_#1498","sha":"8071b8ab140f3c95d60ae6fd81e1de64c2e75332","user":{"login":"WesTyler","id":12154939,"avatar_url":"https://avatars1.githubusercontent.com/u/12154939?v=4","gravatar_id":"","url":"https://api.github.com/users/WesTyler","html_url":"https://github.com/WesTyler","followers_url":"https://api.github.com/users/WesTyler/followers","following_url":"https://api.github.com/users/WesTyler/following{/other_user}","gists_url":"https://api.github.com/users/WesTyler/gists{/gist_id}","starred_url":"https://api.github.com/users/WesTyler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WesTyler/subscriptions","organizations_url":"https://api.github.com/users/WesTyler/orgs","repos_url":"https://api.github.com/users/WesTyler/repos","events_url":"https://api.github.com/users/WesTyler/events{/privacy}","received_events_url":"https://api.github.com/users/WesTyler/received_events","type":"User","site_admin":false},"repo":{"id":69921156,"name":"joi","full_name":"WesTyler/joi","owner":{"login":"WesTyler","id":12154939,"avatar_url":"https://avatars1.githubusercontent.com/u/12154939?v=4","gravatar_id":"","url":"https://api.github.com/users/WesTyler","html_url":"https://github.com/WesTyler","followers_url":"https://api.github.com/users/WesTyler/followers","following_url":"https://api.github.com/users/WesTyler/following{/other_user}","gists_url":"https://api.github.com/users/WesTyler/gists{/gist_id}","starred_url":"https://api.github.com/users/WesTyler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WesTyler/subscriptions","organizations_url":"https://api.github.com/users/WesTyler/orgs","repos_url":"https://api.github.com/users/WesTyler/repos","events_url":"https://api.github.com/users/WesTyler/events{/privacy}","received_events_url":"https://api.github.com/users/WesTyler/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WesTyler/joi","description":"Object schema validation","fork":true,"url":"https://api.github.com/repos/WesTyler/joi","forks_url":"https://api.github.com/repos/WesTyler/joi/forks","keys_url":"https://api.github.com/repos/WesTyler/joi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WesTyler/joi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WesTyler/joi/teams","hooks_url":"https://api.github.com/repos/WesTyler/joi/hooks","issue_events_url":"https://api.github.com/repos/WesTyler/joi/issues/events{/number}","events_url":"https://api.github.com/repos/WesTyler/joi/events","assignees_url":"https://api.github.com/repos/WesTyler/joi/assignees{/user}","branches_url":"https://api.github.com/repos/WesTyler/joi/branches{/branch}","tags_url":"https://api.github.com/repos/WesTyler/joi/tags","blobs_url":"https://api.github.com/repos/WesTyler/joi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WesTyler/joi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WesTyler/joi/git/refs{/sha}","trees_url":"https://api.github.com/repos/WesTyler/joi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WesTyler/joi/statuses/{sha}","languages_url":"https://api.github.com/repos/WesTyler/joi/languages","stargazers_url":"https://api.github.com/repos/WesTyler/joi/stargazers","contributors_url":"https://api.github.com/repos/WesTyler/joi/contributors","subscribers_url":"https://api.github.com/repos/WesTyler/joi/subscribers","subscription_url":"https://api.github.com/repos/WesTyler/joi/subscription","commits_url":"https://api.github.com/repos/WesTyler/joi/commits{/sha}","git_commits_url":"https://api.github.com/repos/WesTyler/joi/git/commits{/sha}","comments_url":"https://api.github.com/repos/WesTyler/joi/comments{/number}","issue_comment_url":"https://api.github.com/repos/WesTyler/joi/issues/comments{/number}","contents_url":"https://api.github.com/repos/WesTyler/joi/contents/{+path}","compare_url":"https://api.github.com/repos/WesTyler/joi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WesTyler/joi/merges","archive_url":"https://api.github.com/repos/WesTyler/joi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WesTyler/joi/downloads","issues_url":"https://api.github.com/repos/WesTyler/joi/issues{/number}","pulls_url":"https://api.github.com/repos/WesTyler/joi/pulls{/number}","milestones_url":"https://api.github.com/repos/WesTyler/joi/milestones{/number}","notifications_url":"https://api.github.com/repos/WesTyler/joi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WesTyler/joi/labels{/name}","releases_url":"https://api.github.com/repos/WesTyler/joi/releases{/id}","deployments_url":"https://api.github.com/repos/WesTyler/joi/deployments","created_at":"2016-10-04T00:03:33Z","updated_at":"2016-10-04T00:03:35Z","pushed_at":"2018-05-24T14:46:33Z","git_url":"git://github.com/WesTyler/joi.git","ssh_url":"git@github.com:WesTyler/joi.git","clone_url":"https://github.com/WesTyler/joi.git","svn_url":"https://github.com/WesTyler/joi","homepage":null,"size":3119,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hapijs:master","ref":"master","sha":"e520c6d4331ceb016fb6986f7a15fd3abe20db1f","user":{"login":"hapijs","id":3774533,"avatar_url":"https://avatars1.githubusercontent.com/u/3774533?v=4","gravatar_id":"","url":"https://api.github.com/users/hapijs","html_url":"https://github.com/hapijs","followers_url":"https://api.github.com/users/hapijs/followers","following_url":"https://api.github.com/users/hapijs/following{/other_user}","gists_url":"https://api.github.com/users/hapijs/gists{/gist_id}","starred_url":"https://api.github.com/users/hapijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hapijs/subscriptions","organizations_url":"https://api.github.com/users/hapijs/orgs","repos_url":"https://api.github.com/users/hapijs/repos","events_url":"https://api.github.com/users/hapijs/events{/privacy}","received_events_url":"https://api.github.com/users/hapijs/received_events","type":"Organization","site_admin":false},"repo":{"id":5830987,"name":"joi","full_name":"hapijs/joi","owner":{"login":"hapijs","id":3774533,"avatar_url":"https://avatars1.githubusercontent.com/u/3774533?v=4","gravatar_id":"","url":"https://api.github.com/users/hapijs","html_url":"https://github.com/hapijs","followers_url":"https://api.github.com/users/hapijs/followers","following_url":"https://api.github.com/users/hapijs/following{/other_user}","gists_url":"https://api.github.com/users/hapijs/gists{/gist_id}","starred_url":"https://api.github.com/users/hapijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hapijs/subscriptions","organizations_url":"https://api.github.com/users/hapijs/orgs","repos_url":"https://api.github.com/users/hapijs/repos","events_url":"https://api.github.com/users/hapijs/events{/privacy}","received_events_url":"https://api.github.com/users/hapijs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hapijs/joi","description":"Object schema validation","fork":false,"url":"https://api.github.com/repos/hapijs/joi","forks_url":"https://api.github.com/repos/hapijs/joi/forks","keys_url":"https://api.github.com/repos/hapijs/joi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hapijs/joi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hapijs/joi/teams","hooks_url":"https://api.github.com/repos/hapijs/joi/hooks","issue_events_url":"https://api.github.com/repos/hapijs/joi/issues/events{/number}","events_url":"https://api.github.com/repos/hapijs/joi/events","assignees_url":"https://api.github.com/repos/hapijs/joi/assignees{/user}","branches_url":"https://api.github.com/repos/hapijs/joi/branches{/branch}","tags_url":"https://api.github.com/repos/hapijs/joi/tags","blobs_url":"https://api.github.com/repos/hapijs/joi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hapijs/joi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hapijs/joi/git/refs{/sha}","trees_url":"https://api.github.com/repos/hapijs/joi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hapijs/joi/statuses/{sha}","languages_url":"https://api.github.com/repos/hapijs/joi/languages","stargazers_url":"https://api.github.com/repos/hapijs/joi/stargazers","contributors_url":"https://api.github.com/repos/hapijs/joi/contributors","subscribers_url":"https://api.github.com/repos/hapijs/joi/subscribers","subscription_url":"https://api.github.com/repos/hapijs/joi/subscription","commits_url":"https://api.github.com/repos/hapijs/joi/commits{/sha}","git_commits_url":"https://api.github.com/repos/hapijs/joi/git/commits{/sha}","comments_url":"https://api.github.com/repos/hapijs/joi/comments{/number}","issue_comment_url":"https://api.github.com/repos/hapijs/joi/issues/comments{/number}","contents_url":"https://api.github.com/repos/hapijs/joi/contents/{+path}","compare_url":"https://api.github.com/repos/hapijs/joi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hapijs/joi/merges","archive_url":"https://api.github.com/repos/hapijs/joi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hapijs/joi/downloads","issues_url":"https://api.github.com/repos/hapijs/joi/issues{/number}","pulls_url":"https://api.github.com/repos/hapijs/joi/pulls{/number}","milestones_url":"https://api.github.com/repos/hapijs/joi/milestones{/number}","notifications_url":"https://api.github.com/repos/hapijs/joi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hapijs/joi/labels{/name}","releases_url":"https://api.github.com/repos/hapijs/joi/releases{/id}","deployments_url":"https://api.github.com/repos/hapijs/joi/deployments","created_at":"2012-09-16T16:38:06Z","updated_at":"2018-05-24T14:47:18Z","pushed_at":"2018-05-24T12:05:15Z","git_url":"git://github.com/hapijs/joi.git","ssh_url":"git@github.com:hapijs/joi.git","clone_url":"https://github.com/hapijs/joi.git","svn_url":"https://github.com/hapijs/joi","homepage":null,"size":3276,"stargazers_count":8043,"watchers_count":8043,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":693,"mirror_url":null,"archived":false,"open_issues_count":108,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":693,"open_issues":108,"watchers":8043,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hapijs/joi/pulls/1511"},"html":{"href":"https://github.com/hapijs/joi/pull/1511"},"issue":{"href":"https://api.github.com/repos/hapijs/joi/issues/1511"},"comments":{"href":"https://api.github.com/repos/hapijs/joi/issues/1511/comments"},"review_comments":{"href":"https://api.github.com/repos/hapijs/joi/pulls/1511/comments"},"review_comment":{"href":"https://api.github.com/repos/hapijs/joi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hapijs/joi/pulls/1511/commits"},"statuses":{"href":"https://api.github.com/repos/hapijs/joi/statuses/8071b8ab140f3c95d60ae6fd81e1de64c2e75332"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":82,"deletions":5,"changed_files":3}}
{"actor":{"display_login":"WesTyler"}}