{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/TrueCar/react-launch-darkly/pulls/4","id":98279465,"html_url":"https://github.com/TrueCar/react-launch-darkly/pull/4","diff_url":"https://github.com/TrueCar/react-launch-darkly/pull/4.diff","patch_url":"https://github.com/TrueCar/react-launch-darkly/pull/4.patch","issue_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/issues/4","number":4,"state":"closed","locked":false,"title":"Add functionality to get all feature flags for a user","user":{"login":"jacobmoretti","id":3938232,"avatar_url":"https://avatars.githubusercontent.com/u/3938232?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobmoretti","html_url":"https://github.com/jacobmoretti","followers_url":"https://api.github.com/users/jacobmoretti/followers","following_url":"https://api.github.com/users/jacobmoretti/following{/other_user}","gists_url":"https://api.github.com/users/jacobmoretti/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobmoretti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobmoretti/subscriptions","organizations_url":"https://api.github.com/users/jacobmoretti/orgs","repos_url":"https://api.github.com/users/jacobmoretti/repos","events_url":"https://api.github.com/users/jacobmoretti/events{/privacy}","received_events_url":"https://api.github.com/users/jacobmoretti/received_events","type":"User","site_admin":false},"body":"Adds and exposes a simple function for retrieving all feature flags for a user.\r\n\r\nUsage may be along the lines of:\r\n```javascript\r\nimport { getAllFeatureFlags } from \"react-launch-darkly\";\r\n\r\n....\r\n\r\nexport async function allFeatureFlags(launchDarklyClientKey, user) {\r\n  const allFlags = await getAllFeatureFlags(launchDarklyClientKey, user);\r\n  console.log(`allFlags: ${JSON.stringify(allFlags)}`);\r\n  // Do something here with all the flags...\r\n}\r\n```","created_at":"2016-12-16T05:09:56Z","updated_at":"2016-12-17T01:40:16Z","closed_at":"2016-12-17T01:40:16Z","merged_at":"2016-12-17T01:40:16Z","merge_commit_sha":"b6bb56032c7993842a4b434c1376aa47e668a5bb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/pulls/4/commits","review_comments_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/pulls/4/comments","review_comment_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/issues/4/comments","statuses_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/statuses/9389a381553b1c613e6467be78e8a4ce3bb1f729","head":{"label":"TrueCar:feature/all-flags","ref":"feature/all-flags","sha":"9389a381553b1c613e6467be78e8a4ce3bb1f729","user":{"login":"TrueCar","id":432757,"avatar_url":"https://avatars.githubusercontent.com/u/432757?v=3","gravatar_id":"","url":"https://api.github.com/users/TrueCar","html_url":"https://github.com/TrueCar","followers_url":"https://api.github.com/users/TrueCar/followers","following_url":"https://api.github.com/users/TrueCar/following{/other_user}","gists_url":"https://api.github.com/users/TrueCar/gists{/gist_id}","starred_url":"https://api.github.com/users/TrueCar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrueCar/subscriptions","organizations_url":"https://api.github.com/users/TrueCar/orgs","repos_url":"https://api.github.com/users/TrueCar/repos","events_url":"https://api.github.com/users/TrueCar/events{/privacy}","received_events_url":"https://api.github.com/users/TrueCar/received_events","type":"Organization","site_admin":false},"repo":{"id":72137136,"name":"react-launch-darkly","full_name":"TrueCar/react-launch-darkly","owner":{"login":"TrueCar","id":432757,"avatar_url":"https://avatars.githubusercontent.com/u/432757?v=3","gravatar_id":"","url":"https://api.github.com/users/TrueCar","html_url":"https://github.com/TrueCar","followers_url":"https://api.github.com/users/TrueCar/followers","following_url":"https://api.github.com/users/TrueCar/following{/other_user}","gists_url":"https://api.github.com/users/TrueCar/gists{/gist_id}","starred_url":"https://api.github.com/users/TrueCar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrueCar/subscriptions","organizations_url":"https://api.github.com/users/TrueCar/orgs","repos_url":"https://api.github.com/users/TrueCar/repos","events_url":"https://api.github.com/users/TrueCar/events{/privacy}","received_events_url":"https://api.github.com/users/TrueCar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TrueCar/react-launch-darkly","description":null,"fork":false,"url":"https://api.github.com/repos/TrueCar/react-launch-darkly","forks_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/forks","keys_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/teams","hooks_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/hooks","issue_events_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/issues/events{/number}","events_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/events","assignees_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/assignees{/user}","branches_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/branches{/branch}","tags_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/tags","blobs_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/git/refs{/sha}","trees_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/statuses/{sha}","languages_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/languages","stargazers_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/stargazers","contributors_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/contributors","subscribers_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/subscribers","subscription_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/subscription","commits_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/commits{/sha}","git_commits_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/git/commits{/sha}","comments_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/comments{/number}","issue_comment_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/issues/comments{/number}","contents_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/contents/{+path}","compare_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/merges","archive_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/downloads","issues_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/issues{/number}","pulls_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/pulls{/number}","milestones_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/milestones{/number}","notifications_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/labels{/name}","releases_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/releases{/id}","deployments_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/deployments","created_at":"2016-10-27T18:36:10Z","updated_at":"2016-10-31T17:07:26Z","pushed_at":"2016-12-17T01:40:16Z","git_url":"git://github.com/TrueCar/react-launch-darkly.git","ssh_url":"git@github.com:TrueCar/react-launch-darkly.git","clone_url":"https://github.com/TrueCar/react-launch-darkly.git","svn_url":"https://github.com/TrueCar/react-launch-darkly","homepage":null,"size":52,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"TrueCar:master","ref":"master","sha":"df9431002d6eb839995e019b123d578f86865e50","user":{"login":"TrueCar","id":432757,"avatar_url":"https://avatars.githubusercontent.com/u/432757?v=3","gravatar_id":"","url":"https://api.github.com/users/TrueCar","html_url":"https://github.com/TrueCar","followers_url":"https://api.github.com/users/TrueCar/followers","following_url":"https://api.github.com/users/TrueCar/following{/other_user}","gists_url":"https://api.github.com/users/TrueCar/gists{/gist_id}","starred_url":"https://api.github.com/users/TrueCar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrueCar/subscriptions","organizations_url":"https://api.github.com/users/TrueCar/orgs","repos_url":"https://api.github.com/users/TrueCar/repos","events_url":"https://api.github.com/users/TrueCar/events{/privacy}","received_events_url":"https://api.github.com/users/TrueCar/received_events","type":"Organization","site_admin":false},"repo":{"id":72137136,"name":"react-launch-darkly","full_name":"TrueCar/react-launch-darkly","owner":{"login":"TrueCar","id":432757,"avatar_url":"https://avatars.githubusercontent.com/u/432757?v=3","gravatar_id":"","url":"https://api.github.com/users/TrueCar","html_url":"https://github.com/TrueCar","followers_url":"https://api.github.com/users/TrueCar/followers","following_url":"https://api.github.com/users/TrueCar/following{/other_user}","gists_url":"https://api.github.com/users/TrueCar/gists{/gist_id}","starred_url":"https://api.github.com/users/TrueCar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrueCar/subscriptions","organizations_url":"https://api.github.com/users/TrueCar/orgs","repos_url":"https://api.github.com/users/TrueCar/repos","events_url":"https://api.github.com/users/TrueCar/events{/privacy}","received_events_url":"https://api.github.com/users/TrueCar/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TrueCar/react-launch-darkly","description":null,"fork":false,"url":"https://api.github.com/repos/TrueCar/react-launch-darkly","forks_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/forks","keys_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/teams","hooks_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/hooks","issue_events_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/issues/events{/number}","events_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/events","assignees_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/assignees{/user}","branches_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/branches{/branch}","tags_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/tags","blobs_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/git/refs{/sha}","trees_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/statuses/{sha}","languages_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/languages","stargazers_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/stargazers","contributors_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/contributors","subscribers_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/subscribers","subscription_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/subscription","commits_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/commits{/sha}","git_commits_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/git/commits{/sha}","comments_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/comments{/number}","issue_comment_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/issues/comments{/number}","contents_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/contents/{+path}","compare_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/merges","archive_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/downloads","issues_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/issues{/number}","pulls_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/pulls{/number}","milestones_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/milestones{/number}","notifications_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/labels{/name}","releases_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/releases{/id}","deployments_url":"https://api.github.com/repos/TrueCar/react-launch-darkly/deployments","created_at":"2016-10-27T18:36:10Z","updated_at":"2016-10-31T17:07:26Z","pushed_at":"2016-12-17T01:40:16Z","git_url":"git://github.com/TrueCar/react-launch-darkly.git","ssh_url":"git@github.com:TrueCar/react-launch-darkly.git","clone_url":"https://github.com/TrueCar/react-launch-darkly.git","svn_url":"https://github.com/TrueCar/react-launch-darkly","homepage":null,"size":52,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TrueCar/react-launch-darkly/pulls/4"},"html":{"href":"https://github.com/TrueCar/react-launch-darkly/pull/4"},"issue":{"href":"https://api.github.com/repos/TrueCar/react-launch-darkly/issues/4"},"comments":{"href":"https://api.github.com/repos/TrueCar/react-launch-darkly/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/TrueCar/react-launch-darkly/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/TrueCar/react-launch-darkly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TrueCar/react-launch-darkly/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/TrueCar/react-launch-darkly/statuses/9389a381553b1c613e6467be78e8a4ce3bb1f729"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jacobmoretti","id":3938232,"avatar_url":"https://avatars.githubusercontent.com/u/3938232?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobmoretti","html_url":"https://github.com/jacobmoretti","followers_url":"https://api.github.com/users/jacobmoretti/followers","following_url":"https://api.github.com/users/jacobmoretti/following{/other_user}","gists_url":"https://api.github.com/users/jacobmoretti/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobmoretti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobmoretti/subscriptions","organizations_url":"https://api.github.com/users/jacobmoretti/orgs","repos_url":"https://api.github.com/users/jacobmoretti/repos","events_url":"https://api.github.com/users/jacobmoretti/events{/privacy}","received_events_url":"https://api.github.com/users/jacobmoretti/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":2,"additions":15,"deletions":3,"changed_files":4}}
{"actor":{"display_login":"jacobmoretti"}}