{"action":"closed","number":14,"pull_request":{"url":"https://api.github.com/repos/mwitkow/go-proto-validators/pulls/14","id":96396904,"html_url":"https://github.com/mwitkow/go-proto-validators/pull/14","diff_url":"https://github.com/mwitkow/go-proto-validators/pull/14.diff","patch_url":"https://github.com/mwitkow/go-proto-validators/pull/14.patch","issue_url":"https://api.github.com/repos/mwitkow/go-proto-validators/issues/14","number":14,"state":"closed","locked":false,"title":"Add support for `oneof` in proto3.","user":{"login":"mwitkow","id":9655971,"avatar_url":"https://avatars.githubusercontent.com/u/9655971?v=3","gravatar_id":"","url":"https://api.github.com/users/mwitkow","html_url":"https://github.com/mwitkow","followers_url":"https://api.github.com/users/mwitkow/followers","following_url":"https://api.github.com/users/mwitkow/following{/other_user}","gists_url":"https://api.github.com/users/mwitkow/gists{/gist_id}","starred_url":"https://api.github.com/users/mwitkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwitkow/subscriptions","organizations_url":"https://api.github.com/users/mwitkow/orgs","repos_url":"https://api.github.com/users/mwitkow/repos","events_url":"https://api.github.com/users/mwitkow/events{/privacy}","received_events_url":"https://api.github.com/users/mwitkow/received_events","type":"User","site_admin":false},"body":"`oneof` messages no longer fail to comile.\r\n`oneof` messages now call appropriate validators for the field that is actually present, and doesn't for the rest.\r\nsupports both `golang/protobuf` and `gogo/protobuf`.\r\n\r\nFixes https://github.com/mwitkow/go-proto-validators/issues/10","created_at":"2016-12-03T12:48:28Z","updated_at":"2016-12-03T12:50:16Z","closed_at":"2016-12-03T12:50:16Z","merged_at":"2016-12-03T12:50:16Z","merge_commit_sha":"fb10ad47c82707e6fbe9df7e4d9bd4d37cd26434","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mwitkow/go-proto-validators/pulls/14/commits","review_comments_url":"https://api.github.com/repos/mwitkow/go-proto-validators/pulls/14/comments","review_comment_url":"https://api.github.com/repos/mwitkow/go-proto-validators/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mwitkow/go-proto-validators/issues/14/comments","statuses_url":"https://api.github.com/repos/mwitkow/go-proto-validators/statuses/56a5f61d9197a8a8fba90adae8bc7bf9f99f72ea","head":{"label":"mwitkow:feature/oneof","ref":"feature/oneof","sha":"56a5f61d9197a8a8fba90adae8bc7bf9f99f72ea","user":{"login":"mwitkow","id":9655971,"avatar_url":"https://avatars.githubusercontent.com/u/9655971?v=3","gravatar_id":"","url":"https://api.github.com/users/mwitkow","html_url":"https://github.com/mwitkow","followers_url":"https://api.github.com/users/mwitkow/followers","following_url":"https://api.github.com/users/mwitkow/following{/other_user}","gists_url":"https://api.github.com/users/mwitkow/gists{/gist_id}","starred_url":"https://api.github.com/users/mwitkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwitkow/subscriptions","organizations_url":"https://api.github.com/users/mwitkow/orgs","repos_url":"https://api.github.com/users/mwitkow/repos","events_url":"https://api.github.com/users/mwitkow/events{/privacy}","received_events_url":"https://api.github.com/users/mwitkow/received_events","type":"User","site_admin":false},"repo":{"id":54839507,"name":"go-proto-validators","full_name":"mwitkow/go-proto-validators","owner":{"login":"mwitkow","id":9655971,"avatar_url":"https://avatars.githubusercontent.com/u/9655971?v=3","gravatar_id":"","url":"https://api.github.com/users/mwitkow","html_url":"https://github.com/mwitkow","followers_url":"https://api.github.com/users/mwitkow/followers","following_url":"https://api.github.com/users/mwitkow/following{/other_user}","gists_url":"https://api.github.com/users/mwitkow/gists{/gist_id}","starred_url":"https://api.github.com/users/mwitkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwitkow/subscriptions","organizations_url":"https://api.github.com/users/mwitkow/orgs","repos_url":"https://api.github.com/users/mwitkow/repos","events_url":"https://api.github.com/users/mwitkow/events{/privacy}","received_events_url":"https://api.github.com/users/mwitkow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mwitkow/go-proto-validators","description":"Generate message validators from .proto annotations.","fork":false,"url":"https://api.github.com/repos/mwitkow/go-proto-validators","forks_url":"https://api.github.com/repos/mwitkow/go-proto-validators/forks","keys_url":"https://api.github.com/repos/mwitkow/go-proto-validators/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mwitkow/go-proto-validators/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mwitkow/go-proto-validators/teams","hooks_url":"https://api.github.com/repos/mwitkow/go-proto-validators/hooks","issue_events_url":"https://api.github.com/repos/mwitkow/go-proto-validators/issues/events{/number}","events_url":"https://api.github.com/repos/mwitkow/go-proto-validators/events","assignees_url":"https://api.github.com/repos/mwitkow/go-proto-validators/assignees{/user}","branches_url":"https://api.github.com/repos/mwitkow/go-proto-validators/branches{/branch}","tags_url":"https://api.github.com/repos/mwitkow/go-proto-validators/tags","blobs_url":"https://api.github.com/repos/mwitkow/go-proto-validators/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mwitkow/go-proto-validators/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mwitkow/go-proto-validators/git/refs{/sha}","trees_url":"https://api.github.com/repos/mwitkow/go-proto-validators/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mwitkow/go-proto-validators/statuses/{sha}","languages_url":"https://api.github.com/repos/mwitkow/go-proto-validators/languages","stargazers_url":"https://api.github.com/repos/mwitkow/go-proto-validators/stargazers","contributors_url":"https://api.github.com/repos/mwitkow/go-proto-validators/contributors","subscribers_url":"https://api.github.com/repos/mwitkow/go-proto-validators/subscribers","subscription_url":"https://api.github.com/repos/mwitkow/go-proto-validators/subscription","commits_url":"https://api.github.com/repos/mwitkow/go-proto-validators/commits{/sha}","git_commits_url":"https://api.github.com/repos/mwitkow/go-proto-validators/git/commits{/sha}","comments_url":"https://api.github.com/repos/mwitkow/go-proto-validators/comments{/number}","issue_comment_url":"https://api.github.com/repos/mwitkow/go-proto-validators/issues/comments{/number}","contents_url":"https://api.github.com/repos/mwitkow/go-proto-validators/contents/{+path}","compare_url":"https://api.github.com/repos/mwitkow/go-proto-validators/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mwitkow/go-proto-validators/merges","archive_url":"https://api.github.com/repos/mwitkow/go-proto-validators/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mwitkow/go-proto-validators/downloads","issues_url":"https://api.github.com/repos/mwitkow/go-proto-validators/issues{/number}","pulls_url":"https://api.github.com/repos/mwitkow/go-proto-validators/pulls{/number}","milestones_url":"https://api.github.com/repos/mwitkow/go-proto-validators/milestones{/number}","notifications_url":"https://api.github.com/repos/mwitkow/go-proto-validators/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mwitkow/go-proto-validators/labels{/name}","releases_url":"https://api.github.com/repos/mwitkow/go-proto-validators/releases{/id}","deployments_url":"https://api.github.com/repos/mwitkow/go-proto-validators/deployments","created_at":"2016-03-27T17:16:21Z","updated_at":"2016-12-01T18:55:40Z","pushed_at":"2016-12-03T12:50:18Z","git_url":"git://github.com/mwitkow/go-proto-validators.git","ssh_url":"git@github.com:mwitkow/go-proto-validators.git","clone_url":"https://github.com/mwitkow/go-proto-validators.git","svn_url":"https://github.com/mwitkow/go-proto-validators","homepage":null,"size":40,"stargazers_count":17,"watchers_count":17,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":17,"default_branch":"master"}},"base":{"label":"mwitkow:master","ref":"master","sha":"306642928dd060f4a144753a86a2fcb2d872256d","user":{"login":"mwitkow","id":9655971,"avatar_url":"https://avatars.githubusercontent.com/u/9655971?v=3","gravatar_id":"","url":"https://api.github.com/users/mwitkow","html_url":"https://github.com/mwitkow","followers_url":"https://api.github.com/users/mwitkow/followers","following_url":"https://api.github.com/users/mwitkow/following{/other_user}","gists_url":"https://api.github.com/users/mwitkow/gists{/gist_id}","starred_url":"https://api.github.com/users/mwitkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwitkow/subscriptions","organizations_url":"https://api.github.com/users/mwitkow/orgs","repos_url":"https://api.github.com/users/mwitkow/repos","events_url":"https://api.github.com/users/mwitkow/events{/privacy}","received_events_url":"https://api.github.com/users/mwitkow/received_events","type":"User","site_admin":false},"repo":{"id":54839507,"name":"go-proto-validators","full_name":"mwitkow/go-proto-validators","owner":{"login":"mwitkow","id":9655971,"avatar_url":"https://avatars.githubusercontent.com/u/9655971?v=3","gravatar_id":"","url":"https://api.github.com/users/mwitkow","html_url":"https://github.com/mwitkow","followers_url":"https://api.github.com/users/mwitkow/followers","following_url":"https://api.github.com/users/mwitkow/following{/other_user}","gists_url":"https://api.github.com/users/mwitkow/gists{/gist_id}","starred_url":"https://api.github.com/users/mwitkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwitkow/subscriptions","organizations_url":"https://api.github.com/users/mwitkow/orgs","repos_url":"https://api.github.com/users/mwitkow/repos","events_url":"https://api.github.com/users/mwitkow/events{/privacy}","received_events_url":"https://api.github.com/users/mwitkow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mwitkow/go-proto-validators","description":"Generate message validators from .proto annotations.","fork":false,"url":"https://api.github.com/repos/mwitkow/go-proto-validators","forks_url":"https://api.github.com/repos/mwitkow/go-proto-validators/forks","keys_url":"https://api.github.com/repos/mwitkow/go-proto-validators/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mwitkow/go-proto-validators/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mwitkow/go-proto-validators/teams","hooks_url":"https://api.github.com/repos/mwitkow/go-proto-validators/hooks","issue_events_url":"https://api.github.com/repos/mwitkow/go-proto-validators/issues/events{/number}","events_url":"https://api.github.com/repos/mwitkow/go-proto-validators/events","assignees_url":"https://api.github.com/repos/mwitkow/go-proto-validators/assignees{/user}","branches_url":"https://api.github.com/repos/mwitkow/go-proto-validators/branches{/branch}","tags_url":"https://api.github.com/repos/mwitkow/go-proto-validators/tags","blobs_url":"https://api.github.com/repos/mwitkow/go-proto-validators/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mwitkow/go-proto-validators/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mwitkow/go-proto-validators/git/refs{/sha}","trees_url":"https://api.github.com/repos/mwitkow/go-proto-validators/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mwitkow/go-proto-validators/statuses/{sha}","languages_url":"https://api.github.com/repos/mwitkow/go-proto-validators/languages","stargazers_url":"https://api.github.com/repos/mwitkow/go-proto-validators/stargazers","contributors_url":"https://api.github.com/repos/mwitkow/go-proto-validators/contributors","subscribers_url":"https://api.github.com/repos/mwitkow/go-proto-validators/subscribers","subscription_url":"https://api.github.com/repos/mwitkow/go-proto-validators/subscription","commits_url":"https://api.github.com/repos/mwitkow/go-proto-validators/commits{/sha}","git_commits_url":"https://api.github.com/repos/mwitkow/go-proto-validators/git/commits{/sha}","comments_url":"https://api.github.com/repos/mwitkow/go-proto-validators/comments{/number}","issue_comment_url":"https://api.github.com/repos/mwitkow/go-proto-validators/issues/comments{/number}","contents_url":"https://api.github.com/repos/mwitkow/go-proto-validators/contents/{+path}","compare_url":"https://api.github.com/repos/mwitkow/go-proto-validators/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mwitkow/go-proto-validators/merges","archive_url":"https://api.github.com/repos/mwitkow/go-proto-validators/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mwitkow/go-proto-validators/downloads","issues_url":"https://api.github.com/repos/mwitkow/go-proto-validators/issues{/number}","pulls_url":"https://api.github.com/repos/mwitkow/go-proto-validators/pulls{/number}","milestones_url":"https://api.github.com/repos/mwitkow/go-proto-validators/milestones{/number}","notifications_url":"https://api.github.com/repos/mwitkow/go-proto-validators/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mwitkow/go-proto-validators/labels{/name}","releases_url":"https://api.github.com/repos/mwitkow/go-proto-validators/releases{/id}","deployments_url":"https://api.github.com/repos/mwitkow/go-proto-validators/deployments","created_at":"2016-03-27T17:16:21Z","updated_at":"2016-12-01T18:55:40Z","pushed_at":"2016-12-03T12:50:18Z","git_url":"git://github.com/mwitkow/go-proto-validators.git","ssh_url":"git@github.com:mwitkow/go-proto-validators.git","clone_url":"https://github.com/mwitkow/go-proto-validators.git","svn_url":"https://github.com/mwitkow/go-proto-validators","homepage":null,"size":40,"stargazers_count":17,"watchers_count":17,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mwitkow/go-proto-validators/pulls/14"},"html":{"href":"https://github.com/mwitkow/go-proto-validators/pull/14"},"issue":{"href":"https://api.github.com/repos/mwitkow/go-proto-validators/issues/14"},"comments":{"href":"https://api.github.com/repos/mwitkow/go-proto-validators/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/mwitkow/go-proto-validators/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/mwitkow/go-proto-validators/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mwitkow/go-proto-validators/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/mwitkow/go-proto-validators/statuses/56a5f61d9197a8a8fba90adae8bc7bf9f99f72ea"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mwitkow","id":9655971,"avatar_url":"https://avatars.githubusercontent.com/u/9655971?v=3","gravatar_id":"","url":"https://api.github.com/users/mwitkow","html_url":"https://github.com/mwitkow","followers_url":"https://api.github.com/users/mwitkow/followers","following_url":"https://api.github.com/users/mwitkow/following{/other_user}","gists_url":"https://api.github.com/users/mwitkow/gists{/gist_id}","starred_url":"https://api.github.com/users/mwitkow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mwitkow/subscriptions","organizations_url":"https://api.github.com/users/mwitkow/orgs","repos_url":"https://api.github.com/users/mwitkow/repos","events_url":"https://api.github.com/users/mwitkow/events{/privacy}","received_events_url":"https://api.github.com/users/mwitkow/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":161,"deletions":10,"changed_files":7}}
{"actor":{"display_login":"mwitkow"}}