{"url":"https://api.github.com/repos/haskell-github/github/pulls/285","id":133345191,"node_id":"MDExOlB1bGxSZXF1ZXN0MTMzMzQ1MTkx","html_url":"https://github.com/haskell-github/github/pull/285","diff_url":"https://github.com/haskell-github/github/pull/285.diff","patch_url":"https://github.com/haskell-github/github/pull/285.patch","issue_url":"https://api.github.com/repos/haskell-github/github/issues/285","number":285,"state":"open","locked":false,"title":"fix the PullRequest object so it can parse","user":{"login":"adnelson","id":5091511,"node_id":"MDQ6VXNlcjUwOTE1MTE=","avatar_url":"https://avatars.githubusercontent.com/u/5091511?v=4","gravatar_id":"","url":"https://api.github.com/users/adnelson","html_url":"https://github.com/adnelson","followers_url":"https://api.github.com/users/adnelson/followers","following_url":"https://api.github.com/users/adnelson/following{/other_user}","gists_url":"https://api.github.com/users/adnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/adnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adnelson/subscriptions","organizations_url":"https://api.github.com/users/adnelson/orgs","repos_url":"https://api.github.com/users/adnelson/repos","events_url":"https://api.github.com/users/adnelson/events{/privacy}","received_events_url":"https://api.github.com/users/adnelson/received_events","type":"User","user_view_type":"public","site_admin":false},"body":"I'm not positive this covers every variant of a pull request event, but prior to this change the `FromJSON` instance failed to decode the [example json](https://developer.github.com/v3/activity/events/types/#pullrequestevent) (which is where the JSON I included here comes from) in the API docs, and now it does.","created_at":"2017-07-31T21:50:19Z","updated_at":"2022-04-19T15:42:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignees":[{"login":"phadej","id":51087,"node_id":"MDQ6VXNlcjUxMDg3","avatar_url":"https://avatars.githubusercontent.com/u/51087?v=4","gravatar_id":"","url":"https://api.github.com/users/phadej","html_url":"https://github.com/phadej","followers_url":"https://api.github.com/users/phadej/followers","following_url":"https://api.github.com/users/phadej/following{/other_user}","gists_url":"https://api.github.com/users/phadej/gists{/gist_id}","starred_url":"https://api.github.com/users/phadej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phadej/subscriptions","organizations_url":"https://api.github.com/users/phadej/orgs","repos_url":"https://api.github.com/users/phadej/repos","events_url":"https://api.github.com/users/phadej/events{/privacy}","received_events_url":"https://api.github.com/users/phadej/received_events","type":"User","user_view_type":"public","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"draft":false,"commits_url":"https://api.github.com/repos/haskell-github/github/pulls/285/commits","review_comments_url":"https://api.github.com/repos/haskell-github/github/pulls/285/comments","review_comment_url":"https://api.github.com/repos/haskell-github/github/pulls/comments{/number}","comments_url":"https://api.github.com/repos/haskell-github/github/issues/285/comments","statuses_url":"https://api.github.com/repos/haskell-github/github/statuses/71dabfc78b30268ddf3142eb4a162e55a42716dd","head":{"label":"adnelson:fix_pull_request","ref":"fix_pull_request","sha":"71dabfc78b30268ddf3142eb4a162e55a42716dd","user":{"login":"adnelson","id":5091511,"node_id":"MDQ6VXNlcjUwOTE1MTE=","avatar_url":"https://avatars.githubusercontent.com/u/5091511?v=4","gravatar_id":"","url":"https://api.github.com/users/adnelson","html_url":"https://github.com/adnelson","followers_url":"https://api.github.com/users/adnelson/followers","following_url":"https://api.github.com/users/adnelson/following{/other_user}","gists_url":"https://api.github.com/users/adnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/adnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adnelson/subscriptions","organizations_url":"https://api.github.com/users/adnelson/orgs","repos_url":"https://api.github.com/users/adnelson/repos","events_url":"https://api.github.com/users/adnelson/events{/privacy}","received_events_url":"https://api.github.com/users/adnelson/received_events","type":"User","user_view_type":"public","site_admin":false},"repo":{"id":98932125,"node_id":"MDEwOlJlcG9zaXRvcnk5ODkzMjEyNQ==","name":"github","full_name":"adnelson/github","private":false,"owner":{"login":"adnelson","id":5091511,"node_id":"MDQ6VXNlcjUwOTE1MTE=","avatar_url":"https://avatars.githubusercontent.com/u/5091511?v=4","gravatar_id":"","url":"https://api.github.com/users/adnelson","html_url":"https://github.com/adnelson","followers_url":"https://api.github.com/users/adnelson/followers","following_url":"https://api.github.com/users/adnelson/following{/other_user}","gists_url":"https://api.github.com/users/adnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/adnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adnelson/subscriptions","organizations_url":"https://api.github.com/users/adnelson/orgs","repos_url":"https://api.github.com/users/adnelson/repos","events_url":"https://api.github.com/users/adnelson/events{/privacy}","received_events_url":"https://api.github.com/users/adnelson/received_events","type":"User","user_view_type":"public","site_admin":false},"html_url":"https://github.com/adnelson/github","description":"The github API for Haskell","fork":true,"url":"https://api.github.com/repos/adnelson/github","forks_url":"https://api.github.com/repos/adnelson/github/forks","keys_url":"https://api.github.com/repos/adnelson/github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adnelson/github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adnelson/github/teams","hooks_url":"https://api.github.com/repos/adnelson/github/hooks","issue_events_url":"https://api.github.com/repos/adnelson/github/issues/events{/number}","events_url":"https://api.github.com/repos/adnelson/github/events","assignees_url":"https://api.github.com/repos/adnelson/github/assignees{/user}","branches_url":"https://api.github.com/repos/adnelson/github/branches{/branch}","tags_url":"https://api.github.com/repos/adnelson/github/tags","blobs_url":"https://api.github.com/repos/adnelson/github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adnelson/github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adnelson/github/git/refs{/sha}","trees_url":"https://api.github.com/repos/adnelson/github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adnelson/github/statuses/{sha}","languages_url":"https://api.github.com/repos/adnelson/github/languages","stargazers_url":"https://api.github.com/repos/adnelson/github/stargazers","contributors_url":"https://api.github.com/repos/adnelson/github/contributors","subscribers_url":"https://api.github.com/repos/adnelson/github/subscribers","subscription_url":"https://api.github.com/repos/adnelson/github/subscription","commits_url":"https://api.github.com/repos/adnelson/github/commits{/sha}","git_commits_url":"https://api.github.com/repos/adnelson/github/git/commits{/sha}","comments_url":"https://api.github.com/repos/adnelson/github/comments{/number}","issue_comment_url":"https://api.github.com/repos/adnelson/github/issues/comments{/number}","contents_url":"https://api.github.com/repos/adnelson/github/contents/{+path}","compare_url":"https://api.github.com/repos/adnelson/github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adnelson/github/merges","archive_url":"https://api.github.com/repos/adnelson/github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adnelson/github/downloads","issues_url":"https://api.github.com/repos/adnelson/github/issues{/number}","pulls_url":"https://api.github.com/repos/adnelson/github/pulls{/number}","milestones_url":"https://api.github.com/repos/adnelson/github/milestones{/number}","notifications_url":"https://api.github.com/repos/adnelson/github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adnelson/github/labels{/name}","releases_url":"https://api.github.com/repos/adnelson/github/releases{/id}","deployments_url":"https://api.github.com/repos/adnelson/github/deployments","created_at":"2017-07-31T21:38:16Z","updated_at":"2017-07-31T21:38:17Z","pushed_at":"2017-11-04T15:50:58Z","git_url":"git://github.com/adnelson/github.git","ssh_url":"git@github.com:adnelson/github.git","clone_url":"https://github.com/adnelson/github.git","svn_url":"https://github.com/adnelson/github","homepage":"","size":976,"stargazers_count":0,"watchers_count":0,"language":"Haskell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"has_discussions":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"has_pull_requests":true,"pull_request_creation_policy":"all","topics":[],"visibility":"public","forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"haskell-github:master","ref":"master","sha":"645b280e7b2bf5fefa4ad5a361cf1c40fb7c7317","user":{"login":"haskell-github","id":101745265,"node_id":"O_kgDOBhCCcQ","avatar_url":"https://avatars.githubusercontent.com/u/101745265?v=4","gravatar_id":"","url":"https://api.github.com/users/haskell-github","html_url":"https://github.com/haskell-github","followers_url":"https://api.github.com/users/haskell-github/followers","following_url":"https://api.github.com/users/haskell-github/following{/other_user}","gists_url":"https://api.github.com/users/haskell-github/gists{/gist_id}","starred_url":"https://api.github.com/users/haskell-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haskell-github/subscriptions","organizations_url":"https://api.github.com/users/haskell-github/orgs","repos_url":"https://api.github.com/users/haskell-github/repos","events_url":"https://api.github.com/users/haskell-github/events{/privacy}","received_events_url":"https://api.github.com/users/haskell-github/received_events","type":"Organization","user_view_type":"public","site_admin":false},"repo":{"id":2677437,"node_id":"MDEwOlJlcG9zaXRvcnkyNjc3NDM3","name":"github","full_name":"haskell-github/github","private":false,"owner":{"login":"haskell-github","id":101745265,"node_id":"O_kgDOBhCCcQ","avatar_url":"https://avatars.githubusercontent.com/u/101745265?v=4","gravatar_id":"","url":"https://api.github.com/users/haskell-github","html_url":"https://github.com/haskell-github","followers_url":"https://api.github.com/users/haskell-github/followers","following_url":"https://api.github.com/users/haskell-github/following{/other_user}","gists_url":"https://api.github.com/users/haskell-github/gists{/gist_id}","starred_url":"https://api.github.com/users/haskell-github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haskell-github/subscriptions","organizations_url":"https://api.github.com/users/haskell-github/orgs","repos_url":"https://api.github.com/users/haskell-github/repos","events_url":"https://api.github.com/users/haskell-github/events{/privacy}","received_events_url":"https://api.github.com/users/haskell-github/received_events","type":"Organization","user_view_type":"public","site_admin":false},"html_url":"https://github.com/haskell-github/github","description":"The github API for Haskell","fork":false,"url":"https://api.github.com/repos/haskell-github/github","forks_url":"https://api.github.com/repos/haskell-github/github/forks","keys_url":"https://api.github.com/repos/haskell-github/github/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haskell-github/github/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haskell-github/github/teams","hooks_url":"https://api.github.com/repos/haskell-github/github/hooks","issue_events_url":"https://api.github.com/repos/haskell-github/github/issues/events{/number}","events_url":"https://api.github.com/repos/haskell-github/github/events","assignees_url":"https://api.github.com/repos/haskell-github/github/assignees{/user}","branches_url":"https://api.github.com/repos/haskell-github/github/branches{/branch}","tags_url":"https://api.github.com/repos/haskell-github/github/tags","blobs_url":"https://api.github.com/repos/haskell-github/github/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haskell-github/github/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haskell-github/github/git/refs{/sha}","trees_url":"https://api.github.com/repos/haskell-github/github/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haskell-github/github/statuses/{sha}","languages_url":"https://api.github.com/repos/haskell-github/github/languages","stargazers_url":"https://api.github.com/repos/haskell-github/github/stargazers","contributors_url":"https://api.github.com/repos/haskell-github/github/contributors","subscribers_url":"https://api.github.com/repos/haskell-github/github/subscribers","subscription_url":"https://api.github.com/repos/haskell-github/github/subscription","commits_url":"https://api.github.com/repos/haskell-github/github/commits{/sha}","git_commits_url":"https://api.github.com/repos/haskell-github/github/git/commits{/sha}","comments_url":"https://api.github.com/repos/haskell-github/github/comments{/number}","issue_comment_url":"https://api.github.com/repos/haskell-github/github/issues/comments{/number}","contents_url":"https://api.github.com/repos/haskell-github/github/contents/{+path}","compare_url":"https://api.github.com/repos/haskell-github/github/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haskell-github/github/merges","archive_url":"https://api.github.com/repos/haskell-github/github/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haskell-github/github/downloads","issues_url":"https://api.github.com/repos/haskell-github/github/issues{/number}","pulls_url":"https://api.github.com/repos/haskell-github/github/pulls{/number}","milestones_url":"https://api.github.com/repos/haskell-github/github/milestones{/number}","notifications_url":"https://api.github.com/repos/haskell-github/github/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haskell-github/github/labels{/name}","releases_url":"https://api.github.com/repos/haskell-github/github/releases{/id}","deployments_url":"https://api.github.com/repos/haskell-github/github/deployments","created_at":"2011-10-30T22:38:34Z","updated_at":"2026-04-17T10:18:22Z","pushed_at":"2026-03-12T18:52:54Z","git_url":"git://github.com/haskell-github/github.git","ssh_url":"git@github.com:haskell-github/github.git","clone_url":"https://github.com/haskell-github/github.git","svn_url":"https://github.com/haskell-github/github","homepage":"https://hackage.haskell.org/package/github","size":1464,"stargazers_count":437,"watchers_count":437,"language":"Haskell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"has_discussions":false,"forks_count":196,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":39,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause","node_id":"MDc6TGljZW5zZTU="},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"has_pull_requests":true,"pull_request_creation_policy":"all","topics":["github-api","haskell","rest-api"],"visibility":"public","forks":196,"open_issues":39,"watchers":437,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/haskell-github/github/pulls/285"},"html":{"href":"https://github.com/haskell-github/github/pull/285"},"issue":{"href":"https://api.github.com/repos/haskell-github/github/issues/285"},"comments":{"href":"https://api.github.com/repos/haskell-github/github/issues/285/comments"},"review_comments":{"href":"https://api.github.com/repos/haskell-github/github/pulls/285/comments"},"review_comment":{"href":"https://api.github.com/repos/haskell-github/github/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/haskell-github/github/pulls/285/commits"},"statuses":{"href":"https://api.github.com/repos/haskell-github/github/statuses/71dabfc78b30268ddf3142eb4a162e55a42716dd"}},"author_association":"NONE","auto_merge":null,"assignee":{"login":"phadej","id":51087,"node_id":"MDQ6VXNlcjUxMDg3","avatar_url":"https://avatars.githubusercontent.com/u/51087?v=4","gravatar_id":"","url":"https://api.github.com/users/phadej","html_url":"https://github.com/phadej","followers_url":"https://api.github.com/users/phadej/followers","following_url":"https://api.github.com/users/phadej/following{/other_user}","gists_url":"https://api.github.com/users/phadej/gists{/gist_id}","starred_url":"https://api.github.com/users/phadej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phadej/subscriptions","organizations_url":"https://api.github.com/users/phadej/orgs","repos_url":"https://api.github.com/users/phadej/repos","events_url":"https://api.github.com/users/phadej/events{/privacy}","received_events_url":"https://api.github.com/users/phadej/received_events","type":"User","user_view_type":"public","site_admin":false},"active_lock_reason":null,"merged":false,"mergeable":false,"rebaseable":false,"mergeable_state":"dirty","merged_by":null,"comments":8,"review_comments":10,"maintainer_can_modify":true,"commits":6,"additions":1567,"deletions":11,"changed_files":7}