{"action":"opened","number":46,"pull_request":{"url":"https://api.github.com/repos/gogo/protobuf/pulls/46","id":33280791,"html_url":"https://github.com/gogo/protobuf/pull/46","diff_url":"https://github.com/gogo/protobuf/pull/46.diff","patch_url":"https://github.com/gogo/protobuf/pull/46.patch","issue_url":"https://api.github.com/repos/gogo/protobuf/issues/46","number":46,"state":"open","locked":false,"title":"Fixed generated unmarshalling of ints with custom types.","user":{"login":"petermattis","id":6201335,"avatar_url":"https://avatars.githubusercontent.com/u/6201335?v=3","gravatar_id":"","url":"https://api.github.com/users/petermattis","html_url":"https://github.com/petermattis","followers_url":"https://api.github.com/users/petermattis/followers","following_url":"https://api.github.com/users/petermattis/following{/other_user}","gists_url":"https://api.github.com/users/petermattis/gists{/gist_id}","starred_url":"https://api.github.com/users/petermattis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petermattis/subscriptions","organizations_url":"https://api.github.com/users/petermattis/orgs","repos_url":"https://api.github.com/users/petermattis/repos","events_url":"https://api.github.com/users/petermattis/events{/privacy}","received_events_url":"https://api.github.com/users/petermattis/received_events","type":"User","site_admin":false},"body":"Previously the generated code wouldn't even compile. Not sure if this is the right approach. Note that the `Marshal` and `Unmarshal` methods are never called for int wire types when using the generated marshaler and unmarshaler.","created_at":"2015-04-14T17:33:46Z","updated_at":"2015-04-14T17:33:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gogo/protobuf/pulls/46/commits","review_comments_url":"https://api.github.com/repos/gogo/protobuf/pulls/46/comments","review_comment_url":"https://api.github.com/repos/gogo/protobuf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gogo/protobuf/issues/46/comments","statuses_url":"https://api.github.com/repos/gogo/protobuf/statuses/5faaa93cbde89b81058c2422ccefcabd17f574d0","head":{"label":"petermattis:pmattis/int-customtype","ref":"pmattis/int-customtype","sha":"5faaa93cbde89b81058c2422ccefcabd17f574d0","user":{"login":"petermattis","id":6201335,"avatar_url":"https://avatars.githubusercontent.com/u/6201335?v=3","gravatar_id":"","url":"https://api.github.com/users/petermattis","html_url":"https://github.com/petermattis","followers_url":"https://api.github.com/users/petermattis/followers","following_url":"https://api.github.com/users/petermattis/following{/other_user}","gists_url":"https://api.github.com/users/petermattis/gists{/gist_id}","starred_url":"https://api.github.com/users/petermattis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petermattis/subscriptions","organizations_url":"https://api.github.com/users/petermattis/orgs","repos_url":"https://api.github.com/users/petermattis/repos","events_url":"https://api.github.com/users/petermattis/events{/privacy}","received_events_url":"https://api.github.com/users/petermattis/received_events","type":"User","site_admin":false},"repo":{"id":33946529,"name":"protobuf","full_name":"petermattis/protobuf","owner":{"login":"petermattis","id":6201335,"avatar_url":"https://avatars.githubusercontent.com/u/6201335?v=3","gravatar_id":"","url":"https://api.github.com/users/petermattis","html_url":"https://github.com/petermattis","followers_url":"https://api.github.com/users/petermattis/followers","following_url":"https://api.github.com/users/petermattis/following{/other_user}","gists_url":"https://api.github.com/users/petermattis/gists{/gist_id}","starred_url":"https://api.github.com/users/petermattis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petermattis/subscriptions","organizations_url":"https://api.github.com/users/petermattis/orgs","repos_url":"https://api.github.com/users/petermattis/repos","events_url":"https://api.github.com/users/petermattis/events{/privacy}","received_events_url":"https://api.github.com/users/petermattis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/petermattis/protobuf","description":"Protocol Buffers for Go with Gadgets","fork":true,"url":"https://api.github.com/repos/petermattis/protobuf","forks_url":"https://api.github.com/repos/petermattis/protobuf/forks","keys_url":"https://api.github.com/repos/petermattis/protobuf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/petermattis/protobuf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/petermattis/protobuf/teams","hooks_url":"https://api.github.com/repos/petermattis/protobuf/hooks","issue_events_url":"https://api.github.com/repos/petermattis/protobuf/issues/events{/number}","events_url":"https://api.github.com/repos/petermattis/protobuf/events","assignees_url":"https://api.github.com/repos/petermattis/protobuf/assignees{/user}","branches_url":"https://api.github.com/repos/petermattis/protobuf/branches{/branch}","tags_url":"https://api.github.com/repos/petermattis/protobuf/tags","blobs_url":"https://api.github.com/repos/petermattis/protobuf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/petermattis/protobuf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/petermattis/protobuf/git/refs{/sha}","trees_url":"https://api.github.com/repos/petermattis/protobuf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/petermattis/protobuf/statuses/{sha}","languages_url":"https://api.github.com/repos/petermattis/protobuf/languages","stargazers_url":"https://api.github.com/repos/petermattis/protobuf/stargazers","contributors_url":"https://api.github.com/repos/petermattis/protobuf/contributors","subscribers_url":"https://api.github.com/repos/petermattis/protobuf/subscribers","subscription_url":"https://api.github.com/repos/petermattis/protobuf/subscription","commits_url":"https://api.github.com/repos/petermattis/protobuf/commits{/sha}","git_commits_url":"https://api.github.com/repos/petermattis/protobuf/git/commits{/sha}","comments_url":"https://api.github.com/repos/petermattis/protobuf/comments{/number}","issue_comment_url":"https://api.github.com/repos/petermattis/protobuf/issues/comments{/number}","contents_url":"https://api.github.com/repos/petermattis/protobuf/contents/{+path}","compare_url":"https://api.github.com/repos/petermattis/protobuf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/petermattis/protobuf/merges","archive_url":"https://api.github.com/repos/petermattis/protobuf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/petermattis/protobuf/downloads","issues_url":"https://api.github.com/repos/petermattis/protobuf/issues{/number}","pulls_url":"https://api.github.com/repos/petermattis/protobuf/pulls{/number}","milestones_url":"https://api.github.com/repos/petermattis/protobuf/milestones{/number}","notifications_url":"https://api.github.com/repos/petermattis/protobuf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/petermattis/protobuf/labels{/name}","releases_url":"https://api.github.com/repos/petermattis/protobuf/releases{/id}","created_at":"2015-04-14T17:28:55Z","updated_at":"2015-04-14T17:28:56Z","pushed_at":"2015-04-14T17:32:05Z","git_url":"git://github.com/petermattis/protobuf.git","ssh_url":"git@github.com:petermattis/protobuf.git","clone_url":"https://github.com/petermattis/protobuf.git","svn_url":"https://github.com/petermattis/protobuf","homepage":"gogo.github.io","size":3236,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gogo:master","ref":"master","sha":"bc946d07d1016848dfd2507f90f0859c9471681e","user":{"login":"gogo","id":9958490,"avatar_url":"https://avatars.githubusercontent.com/u/9958490?v=3","gravatar_id":"","url":"https://api.github.com/users/gogo","html_url":"https://github.com/gogo","followers_url":"https://api.github.com/users/gogo/followers","following_url":"https://api.github.com/users/gogo/following{/other_user}","gists_url":"https://api.github.com/users/gogo/gists{/gist_id}","starred_url":"https://api.github.com/users/gogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogo/subscriptions","organizations_url":"https://api.github.com/users/gogo/orgs","repos_url":"https://api.github.com/users/gogo/repos","events_url":"https://api.github.com/users/gogo/events{/privacy}","received_events_url":"https://api.github.com/users/gogo/received_events","type":"Organization","site_admin":false},"repo":{"id":27483832,"name":"protobuf","full_name":"gogo/protobuf","owner":{"login":"gogo","id":9958490,"avatar_url":"https://avatars.githubusercontent.com/u/9958490?v=3","gravatar_id":"","url":"https://api.github.com/users/gogo","html_url":"https://github.com/gogo","followers_url":"https://api.github.com/users/gogo/followers","following_url":"https://api.github.com/users/gogo/following{/other_user}","gists_url":"https://api.github.com/users/gogo/gists{/gist_id}","starred_url":"https://api.github.com/users/gogo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gogo/subscriptions","organizations_url":"https://api.github.com/users/gogo/orgs","repos_url":"https://api.github.com/users/gogo/repos","events_url":"https://api.github.com/users/gogo/events{/privacy}","received_events_url":"https://api.github.com/users/gogo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gogo/protobuf","description":"Protocol Buffers for Go with Gadgets","fork":false,"url":"https://api.github.com/repos/gogo/protobuf","forks_url":"https://api.github.com/repos/gogo/protobuf/forks","keys_url":"https://api.github.com/repos/gogo/protobuf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gogo/protobuf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gogo/protobuf/teams","hooks_url":"https://api.github.com/repos/gogo/protobuf/hooks","issue_events_url":"https://api.github.com/repos/gogo/protobuf/issues/events{/number}","events_url":"https://api.github.com/repos/gogo/protobuf/events","assignees_url":"https://api.github.com/repos/gogo/protobuf/assignees{/user}","branches_url":"https://api.github.com/repos/gogo/protobuf/branches{/branch}","tags_url":"https://api.github.com/repos/gogo/protobuf/tags","blobs_url":"https://api.github.com/repos/gogo/protobuf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gogo/protobuf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gogo/protobuf/git/refs{/sha}","trees_url":"https://api.github.com/repos/gogo/protobuf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gogo/protobuf/statuses/{sha}","languages_url":"https://api.github.com/repos/gogo/protobuf/languages","stargazers_url":"https://api.github.com/repos/gogo/protobuf/stargazers","contributors_url":"https://api.github.com/repos/gogo/protobuf/contributors","subscribers_url":"https://api.github.com/repos/gogo/protobuf/subscribers","subscription_url":"https://api.github.com/repos/gogo/protobuf/subscription","commits_url":"https://api.github.com/repos/gogo/protobuf/commits{/sha}","git_commits_url":"https://api.github.com/repos/gogo/protobuf/git/commits{/sha}","comments_url":"https://api.github.com/repos/gogo/protobuf/comments{/number}","issue_comment_url":"https://api.github.com/repos/gogo/protobuf/issues/comments{/number}","contents_url":"https://api.github.com/repos/gogo/protobuf/contents/{+path}","compare_url":"https://api.github.com/repos/gogo/protobuf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gogo/protobuf/merges","archive_url":"https://api.github.com/repos/gogo/protobuf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gogo/protobuf/downloads","issues_url":"https://api.github.com/repos/gogo/protobuf/issues{/number}","pulls_url":"https://api.github.com/repos/gogo/protobuf/pulls{/number}","milestones_url":"https://api.github.com/repos/gogo/protobuf/milestones{/number}","notifications_url":"https://api.github.com/repos/gogo/protobuf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gogo/protobuf/labels{/name}","releases_url":"https://api.github.com/repos/gogo/protobuf/releases{/id}","created_at":"2014-12-03T11:27:10Z","updated_at":"2015-04-10T23:33:26Z","pushed_at":"2015-04-13T15:32:07Z","git_url":"git://github.com/gogo/protobuf.git","ssh_url":"git@github.com:gogo/protobuf.git","clone_url":"https://github.com/gogo/protobuf.git","svn_url":"https://github.com/gogo/protobuf","homepage":"gogo.github.io","size":3236,"stargazers_count":111,"watchers_count":111,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":14,"forks":11,"open_issues":14,"watchers":111,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gogo/protobuf/pulls/46"},"html":{"href":"https://github.com/gogo/protobuf/pull/46"},"issue":{"href":"https://api.github.com/repos/gogo/protobuf/issues/46"},"comments":{"href":"https://api.github.com/repos/gogo/protobuf/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/gogo/protobuf/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/gogo/protobuf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gogo/protobuf/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/gogo/protobuf/statuses/5faaa93cbde89b81058c2422ccefcabd17f574d0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1202,"deletions":100,"changed_files":6}}