{"action":"opened","number":110,"pull_request":{"url":"https://api.github.com/repos/alphasights/lion-api/pulls/110","id":169878593,"html_url":"https://github.com/alphasights/lion-api/pull/110","diff_url":"https://github.com/alphasights/lion-api/pull/110.diff","patch_url":"https://github.com/alphasights/lion-api/pull/110.patch","issue_url":"https://api.github.com/repos/alphasights/lion-api/issues/110","number":110,"state":"open","locked":false,"title":"Refactor Score Breakdown Query Type into Field under User","user":{"login":"jdhayford","id":9739680,"avatar_url":"https://avatars2.githubusercontent.com/u/9739680?v=4","gravatar_id":"","url":"https://api.github.com/users/jdhayford","html_url":"https://github.com/jdhayford","followers_url":"https://api.github.com/users/jdhayford/followers","following_url":"https://api.github.com/users/jdhayford/following{/other_user}","gists_url":"https://api.github.com/users/jdhayford/gists{/gist_id}","starred_url":"https://api.github.com/users/jdhayford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdhayford/subscriptions","organizations_url":"https://api.github.com/users/jdhayford/orgs","repos_url":"https://api.github.com/users/jdhayford/repos","events_url":"https://api.github.com/users/jdhayford/events{/privacy}","received_events_url":"https://api.github.com/users/jdhayford/received_events","type":"User","site_admin":false},"body":"Problem\r\nScore breakdown query returns nothing if there are no scores for the argument time period. This is bad when we want to maintain context of the User even when no score exists.\r\n\r\nSolution\r\nRestructure the GraphQL schema to include the score breakdown resolution as a field off the User type that takes arguments.","created_at":"2018-02-19T05:00:55Z","updated_at":"2018-02-19T05:00:55Z","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/alphasights/lion-api/pulls/110/commits","review_comments_url":"https://api.github.com/repos/alphasights/lion-api/pulls/110/comments","review_comment_url":"https://api.github.com/repos/alphasights/lion-api/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphasights/lion-api/issues/110/comments","statuses_url":"https://api.github.com/repos/alphasights/lion-api/statuses/1c35defafafbadf6660a3992953b30d8c6c64c64","head":{"label":"alphasights:jh-add-user-endpoint","ref":"jh-add-user-endpoint","sha":"1c35defafafbadf6660a3992953b30d8c6c64c64","user":{"login":"alphasights","id":41216,"avatar_url":"https://avatars0.githubusercontent.com/u/41216?v=4","gravatar_id":"","url":"https://api.github.com/users/alphasights","html_url":"https://github.com/alphasights","followers_url":"https://api.github.com/users/alphasights/followers","following_url":"https://api.github.com/users/alphasights/following{/other_user}","gists_url":"https://api.github.com/users/alphasights/gists{/gist_id}","starred_url":"https://api.github.com/users/alphasights/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphasights/subscriptions","organizations_url":"https://api.github.com/users/alphasights/orgs","repos_url":"https://api.github.com/users/alphasights/repos","events_url":"https://api.github.com/users/alphasights/events{/privacy}","received_events_url":"https://api.github.com/users/alphasights/received_events","type":"Organization","site_admin":false},"repo":{"id":18222734,"name":"lion-api","full_name":"alphasights/lion-api","owner":{"login":"alphasights","id":41216,"avatar_url":"https://avatars0.githubusercontent.com/u/41216?v=4","gravatar_id":"","url":"https://api.github.com/users/alphasights","html_url":"https://github.com/alphasights","followers_url":"https://api.github.com/users/alphasights/followers","following_url":"https://api.github.com/users/alphasights/following{/other_user}","gists_url":"https://api.github.com/users/alphasights/gists{/gist_id}","starred_url":"https://api.github.com/users/alphasights/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphasights/subscriptions","organizations_url":"https://api.github.com/users/alphasights/orgs","repos_url":"https://api.github.com/users/alphasights/repos","events_url":"https://api.github.com/users/alphasights/events{/privacy}","received_events_url":"https://api.github.com/users/alphasights/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphasights/lion-api","description":"Gamification for developers","fork":false,"url":"https://api.github.com/repos/alphasights/lion-api","forks_url":"https://api.github.com/repos/alphasights/lion-api/forks","keys_url":"https://api.github.com/repos/alphasights/lion-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphasights/lion-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphasights/lion-api/teams","hooks_url":"https://api.github.com/repos/alphasights/lion-api/hooks","issue_events_url":"https://api.github.com/repos/alphasights/lion-api/issues/events{/number}","events_url":"https://api.github.com/repos/alphasights/lion-api/events","assignees_url":"https://api.github.com/repos/alphasights/lion-api/assignees{/user}","branches_url":"https://api.github.com/repos/alphasights/lion-api/branches{/branch}","tags_url":"https://api.github.com/repos/alphasights/lion-api/tags","blobs_url":"https://api.github.com/repos/alphasights/lion-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphasights/lion-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphasights/lion-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphasights/lion-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphasights/lion-api/statuses/{sha}","languages_url":"https://api.github.com/repos/alphasights/lion-api/languages","stargazers_url":"https://api.github.com/repos/alphasights/lion-api/stargazers","contributors_url":"https://api.github.com/repos/alphasights/lion-api/contributors","subscribers_url":"https://api.github.com/repos/alphasights/lion-api/subscribers","subscription_url":"https://api.github.com/repos/alphasights/lion-api/subscription","commits_url":"https://api.github.com/repos/alphasights/lion-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphasights/lion-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphasights/lion-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphasights/lion-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphasights/lion-api/contents/{+path}","compare_url":"https://api.github.com/repos/alphasights/lion-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphasights/lion-api/merges","archive_url":"https://api.github.com/repos/alphasights/lion-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphasights/lion-api/downloads","issues_url":"https://api.github.com/repos/alphasights/lion-api/issues{/number}","pulls_url":"https://api.github.com/repos/alphasights/lion-api/pulls{/number}","milestones_url":"https://api.github.com/repos/alphasights/lion-api/milestones{/number}","notifications_url":"https://api.github.com/repos/alphasights/lion-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphasights/lion-api/labels{/name}","releases_url":"https://api.github.com/repos/alphasights/lion-api/releases{/id}","deployments_url":"https://api.github.com/repos/alphasights/lion-api/deployments","created_at":"2014-03-28T18:45:07Z","updated_at":"2017-07-22T08:28:17Z","pushed_at":"2018-02-19T04:32:37Z","git_url":"git://github.com/alphasights/lion-api.git","ssh_url":"git@github.com:alphasights/lion-api.git","clone_url":"https://github.com/alphasights/lion-api.git","svn_url":"https://github.com/alphasights/lion-api","homepage":"","size":1658,"stargazers_count":10,"watchers_count":10,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":5,"open_issues":1,"watchers":10,"default_branch":"master"}},"base":{"label":"alphasights:master","ref":"master","sha":"6ea744172ef2b028e1052404661ebba64224e002","user":{"login":"alphasights","id":41216,"avatar_url":"https://avatars0.githubusercontent.com/u/41216?v=4","gravatar_id":"","url":"https://api.github.com/users/alphasights","html_url":"https://github.com/alphasights","followers_url":"https://api.github.com/users/alphasights/followers","following_url":"https://api.github.com/users/alphasights/following{/other_user}","gists_url":"https://api.github.com/users/alphasights/gists{/gist_id}","starred_url":"https://api.github.com/users/alphasights/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphasights/subscriptions","organizations_url":"https://api.github.com/users/alphasights/orgs","repos_url":"https://api.github.com/users/alphasights/repos","events_url":"https://api.github.com/users/alphasights/events{/privacy}","received_events_url":"https://api.github.com/users/alphasights/received_events","type":"Organization","site_admin":false},"repo":{"id":18222734,"name":"lion-api","full_name":"alphasights/lion-api","owner":{"login":"alphasights","id":41216,"avatar_url":"https://avatars0.githubusercontent.com/u/41216?v=4","gravatar_id":"","url":"https://api.github.com/users/alphasights","html_url":"https://github.com/alphasights","followers_url":"https://api.github.com/users/alphasights/followers","following_url":"https://api.github.com/users/alphasights/following{/other_user}","gists_url":"https://api.github.com/users/alphasights/gists{/gist_id}","starred_url":"https://api.github.com/users/alphasights/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphasights/subscriptions","organizations_url":"https://api.github.com/users/alphasights/orgs","repos_url":"https://api.github.com/users/alphasights/repos","events_url":"https://api.github.com/users/alphasights/events{/privacy}","received_events_url":"https://api.github.com/users/alphasights/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphasights/lion-api","description":"Gamification for developers","fork":false,"url":"https://api.github.com/repos/alphasights/lion-api","forks_url":"https://api.github.com/repos/alphasights/lion-api/forks","keys_url":"https://api.github.com/repos/alphasights/lion-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphasights/lion-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphasights/lion-api/teams","hooks_url":"https://api.github.com/repos/alphasights/lion-api/hooks","issue_events_url":"https://api.github.com/repos/alphasights/lion-api/issues/events{/number}","events_url":"https://api.github.com/repos/alphasights/lion-api/events","assignees_url":"https://api.github.com/repos/alphasights/lion-api/assignees{/user}","branches_url":"https://api.github.com/repos/alphasights/lion-api/branches{/branch}","tags_url":"https://api.github.com/repos/alphasights/lion-api/tags","blobs_url":"https://api.github.com/repos/alphasights/lion-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphasights/lion-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphasights/lion-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphasights/lion-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphasights/lion-api/statuses/{sha}","languages_url":"https://api.github.com/repos/alphasights/lion-api/languages","stargazers_url":"https://api.github.com/repos/alphasights/lion-api/stargazers","contributors_url":"https://api.github.com/repos/alphasights/lion-api/contributors","subscribers_url":"https://api.github.com/repos/alphasights/lion-api/subscribers","subscription_url":"https://api.github.com/repos/alphasights/lion-api/subscription","commits_url":"https://api.github.com/repos/alphasights/lion-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphasights/lion-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphasights/lion-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphasights/lion-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphasights/lion-api/contents/{+path}","compare_url":"https://api.github.com/repos/alphasights/lion-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphasights/lion-api/merges","archive_url":"https://api.github.com/repos/alphasights/lion-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphasights/lion-api/downloads","issues_url":"https://api.github.com/repos/alphasights/lion-api/issues{/number}","pulls_url":"https://api.github.com/repos/alphasights/lion-api/pulls{/number}","milestones_url":"https://api.github.com/repos/alphasights/lion-api/milestones{/number}","notifications_url":"https://api.github.com/repos/alphasights/lion-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphasights/lion-api/labels{/name}","releases_url":"https://api.github.com/repos/alphasights/lion-api/releases{/id}","deployments_url":"https://api.github.com/repos/alphasights/lion-api/deployments","created_at":"2014-03-28T18:45:07Z","updated_at":"2017-07-22T08:28:17Z","pushed_at":"2018-02-19T04:32:37Z","git_url":"git://github.com/alphasights/lion-api.git","ssh_url":"git@github.com:alphasights/lion-api.git","clone_url":"https://github.com/alphasights/lion-api.git","svn_url":"https://github.com/alphasights/lion-api","homepage":"","size":1658,"stargazers_count":10,"watchers_count":10,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":5,"open_issues":1,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphasights/lion-api/pulls/110"},"html":{"href":"https://github.com/alphasights/lion-api/pull/110"},"issue":{"href":"https://api.github.com/repos/alphasights/lion-api/issues/110"},"comments":{"href":"https://api.github.com/repos/alphasights/lion-api/issues/110/comments"},"review_comments":{"href":"https://api.github.com/repos/alphasights/lion-api/pulls/110/comments"},"review_comment":{"href":"https://api.github.com/repos/alphasights/lion-api/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphasights/lion-api/pulls/110/commits"},"statuses":{"href":"https://api.github.com/repos/alphasights/lion-api/statuses/1c35defafafbadf6660a3992953b30d8c6c64c64"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":10,"deletions":9,"changed_files":2}}
{"actor":{"display_login":"jdhayford"}}