{"action":"closed","number":49,"pull_request":{"url":"https://api.github.com/repos/guardian/content-api-models/pulls/49","id":78671318,"html_url":"https://github.com/guardian/content-api-models/pull/49","diff_url":"https://github.com/guardian/content-api-models/pull/49.diff","patch_url":"https://github.com/guardian/content-api-models/pull/49.patch","issue_url":"https://api.github.com/repos/guardian/content-api-models/issues/49","number":49,"state":"closed","locked":false,"title":"Circe macro: discard history when decoding","user":{"login":"cb372","id":106760,"avatar_url":"https://avatars.githubusercontent.com/u/106760?v=3","gravatar_id":"","url":"https://api.github.com/users/cb372","html_url":"https://github.com/cb372","followers_url":"https://api.github.com/users/cb372/followers","following_url":"https://api.github.com/users/cb372/following{/other_user}","gists_url":"https://api.github.com/users/cb372/gists{/gist_id}","starred_url":"https://api.github.com/users/cb372/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cb372/subscriptions","organizations_url":"https://api.github.com/users/cb372/orgs","repos_url":"https://api.github.com/users/cb372/repos","events_url":"https://api.github.com/users/cb372/events{/privacy}","received_events_url":"https://api.github.com/users/cb372/received_events","type":"User","site_admin":false},"body":"This is a partial workaround for travisbrown/circe#329. Instead of calling `.get` directly on the `HCursor`, we perform the down-fielding on its underlying `Cursor`. This means that history is not preserved, resulting in fewer object allocations and less GC pressure.\n\nThe only downside to this is that we can't include the cursor history in error messages, but we don't really care about that.","created_at":"2016-07-25T12:18:00Z","updated_at":"2016-07-25T12:30:16Z","closed_at":"2016-07-25T12:30:16Z","merged_at":"2016-07-25T12:30:16Z","merge_commit_sha":"ddb22cc93ad863f4ec68866edbe8dbbbcd5a2b45","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/guardian/content-api-models/pulls/49/commits","review_comments_url":"https://api.github.com/repos/guardian/content-api-models/pulls/49/comments","review_comment_url":"https://api.github.com/repos/guardian/content-api-models/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guardian/content-api-models/issues/49/comments","statuses_url":"https://api.github.com/repos/guardian/content-api-models/statuses/7d1145066fc80dff2fed391f89125413871e22bf","head":{"label":"guardian:allocate-fewer-HistoryOps","ref":"allocate-fewer-HistoryOps","sha":"7d1145066fc80dff2fed391f89125413871e22bf","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":55155875,"name":"content-api-models","full_name":"guardian/content-api-models","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/content-api-models","description":"Content-api thrift models","fork":false,"url":"https://api.github.com/repos/guardian/content-api-models","forks_url":"https://api.github.com/repos/guardian/content-api-models/forks","keys_url":"https://api.github.com/repos/guardian/content-api-models/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/content-api-models/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/content-api-models/teams","hooks_url":"https://api.github.com/repos/guardian/content-api-models/hooks","issue_events_url":"https://api.github.com/repos/guardian/content-api-models/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/content-api-models/events","assignees_url":"https://api.github.com/repos/guardian/content-api-models/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/content-api-models/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/content-api-models/tags","blobs_url":"https://api.github.com/repos/guardian/content-api-models/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/content-api-models/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/content-api-models/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/content-api-models/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/content-api-models/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/content-api-models/languages","stargazers_url":"https://api.github.com/repos/guardian/content-api-models/stargazers","contributors_url":"https://api.github.com/repos/guardian/content-api-models/contributors","subscribers_url":"https://api.github.com/repos/guardian/content-api-models/subscribers","subscription_url":"https://api.github.com/repos/guardian/content-api-models/subscription","commits_url":"https://api.github.com/repos/guardian/content-api-models/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/content-api-models/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/content-api-models/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/content-api-models/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/content-api-models/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/content-api-models/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/content-api-models/merges","archive_url":"https://api.github.com/repos/guardian/content-api-models/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/content-api-models/downloads","issues_url":"https://api.github.com/repos/guardian/content-api-models/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/content-api-models/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/content-api-models/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/content-api-models/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/content-api-models/labels{/name}","releases_url":"https://api.github.com/repos/guardian/content-api-models/releases{/id}","deployments_url":"https://api.github.com/repos/guardian/content-api-models/deployments","created_at":"2016-03-31T14:12:52Z","updated_at":"2016-07-20T15:18:50Z","pushed_at":"2016-07-25T12:30:16Z","git_url":"git://github.com/guardian/content-api-models.git","ssh_url":"git@github.com:guardian/content-api-models.git","clone_url":"https://github.com/guardian/content-api-models.git","svn_url":"https://github.com/guardian/content-api-models","homepage":"","size":2607,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":false,"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":"guardian:master","ref":"master","sha":"de1f39541307369a2ba5c12acb9f278b533318ab","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":55155875,"name":"content-api-models","full_name":"guardian/content-api-models","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/content-api-models","description":"Content-api thrift models","fork":false,"url":"https://api.github.com/repos/guardian/content-api-models","forks_url":"https://api.github.com/repos/guardian/content-api-models/forks","keys_url":"https://api.github.com/repos/guardian/content-api-models/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/content-api-models/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/content-api-models/teams","hooks_url":"https://api.github.com/repos/guardian/content-api-models/hooks","issue_events_url":"https://api.github.com/repos/guardian/content-api-models/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/content-api-models/events","assignees_url":"https://api.github.com/repos/guardian/content-api-models/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/content-api-models/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/content-api-models/tags","blobs_url":"https://api.github.com/repos/guardian/content-api-models/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/content-api-models/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/content-api-models/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/content-api-models/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/content-api-models/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/content-api-models/languages","stargazers_url":"https://api.github.com/repos/guardian/content-api-models/stargazers","contributors_url":"https://api.github.com/repos/guardian/content-api-models/contributors","subscribers_url":"https://api.github.com/repos/guardian/content-api-models/subscribers","subscription_url":"https://api.github.com/repos/guardian/content-api-models/subscription","commits_url":"https://api.github.com/repos/guardian/content-api-models/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/content-api-models/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/content-api-models/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/content-api-models/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/content-api-models/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/content-api-models/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/content-api-models/merges","archive_url":"https://api.github.com/repos/guardian/content-api-models/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/content-api-models/downloads","issues_url":"https://api.github.com/repos/guardian/content-api-models/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/content-api-models/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/content-api-models/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/content-api-models/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/content-api-models/labels{/name}","releases_url":"https://api.github.com/repos/guardian/content-api-models/releases{/id}","deployments_url":"https://api.github.com/repos/guardian/content-api-models/deployments","created_at":"2016-03-31T14:12:52Z","updated_at":"2016-07-20T15:18:50Z","pushed_at":"2016-07-25T12:30:16Z","git_url":"git://github.com/guardian/content-api-models.git","ssh_url":"git@github.com:guardian/content-api-models.git","clone_url":"https://github.com/guardian/content-api-models.git","svn_url":"https://github.com/guardian/content-api-models","homepage":"","size":2607,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":false,"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/guardian/content-api-models/pulls/49"},"html":{"href":"https://github.com/guardian/content-api-models/pull/49"},"issue":{"href":"https://api.github.com/repos/guardian/content-api-models/issues/49"},"comments":{"href":"https://api.github.com/repos/guardian/content-api-models/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/guardian/content-api-models/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/guardian/content-api-models/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guardian/content-api-models/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/guardian/content-api-models/statuses/7d1145066fc80dff2fed391f89125413871e22bf"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cb372","id":106760,"avatar_url":"https://avatars.githubusercontent.com/u/106760?v=3","gravatar_id":"","url":"https://api.github.com/users/cb372","html_url":"https://github.com/cb372","followers_url":"https://api.github.com/users/cb372/followers","following_url":"https://api.github.com/users/cb372/following{/other_user}","gists_url":"https://api.github.com/users/cb372/gists{/gist_id}","starred_url":"https://api.github.com/users/cb372/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cb372/subscriptions","organizations_url":"https://api.github.com/users/cb372/orgs","repos_url":"https://api.github.com/users/cb372/repos","events_url":"https://api.github.com/users/cb372/events{/privacy}","received_events_url":"https://api.github.com/users/cb372/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":5,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"cb372"}}