{"action":"opened","number":18,"pull_request":{"url":"https://api.github.com/repos/ardalis/SmartEnum/pulls/18","id":193486085,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNDg2MDg1","html_url":"https://github.com/ardalis/SmartEnum/pull/18","diff_url":"https://github.com/ardalis/SmartEnum/pull/18.diff","patch_url":"https://github.com/ardalis/SmartEnum/pull/18.patch","issue_url":"https://api.github.com/repos/ardalis/SmartEnum/issues/18","number":18,"state":"open","locked":false,"title":"Updated README.md","user":{"login":"mikaelsnavy","id":753437,"node_id":"MDQ6VXNlcjc1MzQzNw==","avatar_url":"https://avatars3.githubusercontent.com/u/753437?v=4","gravatar_id":"","url":"https://api.github.com/users/mikaelsnavy","html_url":"https://github.com/mikaelsnavy","followers_url":"https://api.github.com/users/mikaelsnavy/followers","following_url":"https://api.github.com/users/mikaelsnavy/following{/other_user}","gists_url":"https://api.github.com/users/mikaelsnavy/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaelsnavy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaelsnavy/subscriptions","organizations_url":"https://api.github.com/users/mikaelsnavy/orgs","repos_url":"https://api.github.com/users/mikaelsnavy/repos","events_url":"https://api.github.com/users/mikaelsnavy/events{/privacy}","received_events_url":"https://api.github.com/users/mikaelsnavy/received_events","type":"User","site_admin":false},"body":"Added example of switching over a TestEnum for users who like using a switch statement over enums. Honestly, this wasn't initially obvious to me and this was a non-starter for some people on my team (they love switching over enums). I think this documentation change is helpful in showing people how the SmartEnum can be easily replaced in existing code.\r\n\r\nFeel free to deny this request if it's not in line with the goals of this documentation. 👍 ","created_at":"2018-06-08T01:16:22Z","updated_at":"2018-06-08T01:16:22Z","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/ardalis/SmartEnum/pulls/18/commits","review_comments_url":"https://api.github.com/repos/ardalis/SmartEnum/pulls/18/comments","review_comment_url":"https://api.github.com/repos/ardalis/SmartEnum/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ardalis/SmartEnum/issues/18/comments","statuses_url":"https://api.github.com/repos/ardalis/SmartEnum/statuses/ce5b5fac41518fd6a773e08c64356d41c33783f0","head":{"label":"mikaelsnavy:master","ref":"master","sha":"ce5b5fac41518fd6a773e08c64356d41c33783f0","user":{"login":"mikaelsnavy","id":753437,"node_id":"MDQ6VXNlcjc1MzQzNw==","avatar_url":"https://avatars3.githubusercontent.com/u/753437?v=4","gravatar_id":"","url":"https://api.github.com/users/mikaelsnavy","html_url":"https://github.com/mikaelsnavy","followers_url":"https://api.github.com/users/mikaelsnavy/followers","following_url":"https://api.github.com/users/mikaelsnavy/following{/other_user}","gists_url":"https://api.github.com/users/mikaelsnavy/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaelsnavy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaelsnavy/subscriptions","organizations_url":"https://api.github.com/users/mikaelsnavy/orgs","repos_url":"https://api.github.com/users/mikaelsnavy/repos","events_url":"https://api.github.com/users/mikaelsnavy/events{/privacy}","received_events_url":"https://api.github.com/users/mikaelsnavy/received_events","type":"User","site_admin":false},"repo":{"id":136504455,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY1MDQ0NTU=","name":"SmartEnum","full_name":"mikaelsnavy/SmartEnum","owner":{"login":"mikaelsnavy","id":753437,"node_id":"MDQ6VXNlcjc1MzQzNw==","avatar_url":"https://avatars3.githubusercontent.com/u/753437?v=4","gravatar_id":"","url":"https://api.github.com/users/mikaelsnavy","html_url":"https://github.com/mikaelsnavy","followers_url":"https://api.github.com/users/mikaelsnavy/followers","following_url":"https://api.github.com/users/mikaelsnavy/following{/other_user}","gists_url":"https://api.github.com/users/mikaelsnavy/gists{/gist_id}","starred_url":"https://api.github.com/users/mikaelsnavy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikaelsnavy/subscriptions","organizations_url":"https://api.github.com/users/mikaelsnavy/orgs","repos_url":"https://api.github.com/users/mikaelsnavy/repos","events_url":"https://api.github.com/users/mikaelsnavy/events{/privacy}","received_events_url":"https://api.github.com/users/mikaelsnavy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikaelsnavy/SmartEnum","description":"A base class for quickly and easily creating strongly typed enum replacements in C#.","fork":true,"url":"https://api.github.com/repos/mikaelsnavy/SmartEnum","forks_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/forks","keys_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/teams","hooks_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/hooks","issue_events_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/issues/events{/number}","events_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/events","assignees_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/assignees{/user}","branches_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/branches{/branch}","tags_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/tags","blobs_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/statuses/{sha}","languages_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/languages","stargazers_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/stargazers","contributors_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/contributors","subscribers_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/subscribers","subscription_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/subscription","commits_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/contents/{+path}","compare_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/merges","archive_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/downloads","issues_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/issues{/number}","pulls_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/pulls{/number}","milestones_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/milestones{/number}","notifications_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/labels{/name}","releases_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/releases{/id}","deployments_url":"https://api.github.com/repos/mikaelsnavy/SmartEnum/deployments","created_at":"2018-06-07T16:32:38Z","updated_at":"2018-06-07T16:37:49Z","pushed_at":"2018-06-07T16:37:47Z","git_url":"git://github.com/mikaelsnavy/SmartEnum.git","ssh_url":"git@github.com:mikaelsnavy/SmartEnum.git","clone_url":"https://github.com/mikaelsnavy/SmartEnum.git","svn_url":"https://github.com/mikaelsnavy/SmartEnum","homepage":null,"size":21,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ardalis:master","ref":"master","sha":"870012d406609a4a8889fdde2139750dc618d6a9","user":{"login":"ardalis","id":782127,"node_id":"MDQ6VXNlcjc4MjEyNw==","avatar_url":"https://avatars0.githubusercontent.com/u/782127?v=4","gravatar_id":"","url":"https://api.github.com/users/ardalis","html_url":"https://github.com/ardalis","followers_url":"https://api.github.com/users/ardalis/followers","following_url":"https://api.github.com/users/ardalis/following{/other_user}","gists_url":"https://api.github.com/users/ardalis/gists{/gist_id}","starred_url":"https://api.github.com/users/ardalis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ardalis/subscriptions","organizations_url":"https://api.github.com/users/ardalis/orgs","repos_url":"https://api.github.com/users/ardalis/repos","events_url":"https://api.github.com/users/ardalis/events{/privacy}","received_events_url":"https://api.github.com/users/ardalis/received_events","type":"User","site_admin":false},"repo":{"id":112747661,"node_id":"MDEwOlJlcG9zaXRvcnkxMTI3NDc2NjE=","name":"SmartEnum","full_name":"ardalis/SmartEnum","owner":{"login":"ardalis","id":782127,"node_id":"MDQ6VXNlcjc4MjEyNw==","avatar_url":"https://avatars0.githubusercontent.com/u/782127?v=4","gravatar_id":"","url":"https://api.github.com/users/ardalis","html_url":"https://github.com/ardalis","followers_url":"https://api.github.com/users/ardalis/followers","following_url":"https://api.github.com/users/ardalis/following{/other_user}","gists_url":"https://api.github.com/users/ardalis/gists{/gist_id}","starred_url":"https://api.github.com/users/ardalis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ardalis/subscriptions","organizations_url":"https://api.github.com/users/ardalis/orgs","repos_url":"https://api.github.com/users/ardalis/repos","events_url":"https://api.github.com/users/ardalis/events{/privacy}","received_events_url":"https://api.github.com/users/ardalis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ardalis/SmartEnum","description":"A base class for quickly and easily creating strongly typed enum replacements in C#.","fork":false,"url":"https://api.github.com/repos/ardalis/SmartEnum","forks_url":"https://api.github.com/repos/ardalis/SmartEnum/forks","keys_url":"https://api.github.com/repos/ardalis/SmartEnum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ardalis/SmartEnum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ardalis/SmartEnum/teams","hooks_url":"https://api.github.com/repos/ardalis/SmartEnum/hooks","issue_events_url":"https://api.github.com/repos/ardalis/SmartEnum/issues/events{/number}","events_url":"https://api.github.com/repos/ardalis/SmartEnum/events","assignees_url":"https://api.github.com/repos/ardalis/SmartEnum/assignees{/user}","branches_url":"https://api.github.com/repos/ardalis/SmartEnum/branches{/branch}","tags_url":"https://api.github.com/repos/ardalis/SmartEnum/tags","blobs_url":"https://api.github.com/repos/ardalis/SmartEnum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ardalis/SmartEnum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ardalis/SmartEnum/git/refs{/sha}","trees_url":"https://api.github.com/repos/ardalis/SmartEnum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ardalis/SmartEnum/statuses/{sha}","languages_url":"https://api.github.com/repos/ardalis/SmartEnum/languages","stargazers_url":"https://api.github.com/repos/ardalis/SmartEnum/stargazers","contributors_url":"https://api.github.com/repos/ardalis/SmartEnum/contributors","subscribers_url":"https://api.github.com/repos/ardalis/SmartEnum/subscribers","subscription_url":"https://api.github.com/repos/ardalis/SmartEnum/subscription","commits_url":"https://api.github.com/repos/ardalis/SmartEnum/commits{/sha}","git_commits_url":"https://api.github.com/repos/ardalis/SmartEnum/git/commits{/sha}","comments_url":"https://api.github.com/repos/ardalis/SmartEnum/comments{/number}","issue_comment_url":"https://api.github.com/repos/ardalis/SmartEnum/issues/comments{/number}","contents_url":"https://api.github.com/repos/ardalis/SmartEnum/contents/{+path}","compare_url":"https://api.github.com/repos/ardalis/SmartEnum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ardalis/SmartEnum/merges","archive_url":"https://api.github.com/repos/ardalis/SmartEnum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ardalis/SmartEnum/downloads","issues_url":"https://api.github.com/repos/ardalis/SmartEnum/issues{/number}","pulls_url":"https://api.github.com/repos/ardalis/SmartEnum/pulls{/number}","milestones_url":"https://api.github.com/repos/ardalis/SmartEnum/milestones{/number}","notifications_url":"https://api.github.com/repos/ardalis/SmartEnum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ardalis/SmartEnum/labels{/name}","releases_url":"https://api.github.com/repos/ardalis/SmartEnum/releases{/id}","deployments_url":"https://api.github.com/repos/ardalis/SmartEnum/deployments","created_at":"2017-12-01T14:15:24Z","updated_at":"2018-05-25T19:05:29Z","pushed_at":"2018-04-27T22:44:34Z","git_url":"git://github.com/ardalis/SmartEnum.git","ssh_url":"git@github.com:ardalis/SmartEnum.git","clone_url":"https://github.com/ardalis/SmartEnum.git","svn_url":"https://github.com/ardalis/SmartEnum","homepage":null,"size":19,"stargazers_count":47,"watchers_count":47,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":8,"open_issues":2,"watchers":47,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ardalis/SmartEnum/pulls/18"},"html":{"href":"https://github.com/ardalis/SmartEnum/pull/18"},"issue":{"href":"https://api.github.com/repos/ardalis/SmartEnum/issues/18"},"comments":{"href":"https://api.github.com/repos/ardalis/SmartEnum/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/ardalis/SmartEnum/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/ardalis/SmartEnum/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ardalis/SmartEnum/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/ardalis/SmartEnum/statuses/ce5b5fac41518fd6a773e08c64356d41c33783f0"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":16,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"mikaelsnavy"}}