{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/mastoj/LibAAS/pulls/5","id":67488151,"html_url":"https://github.com/mastoj/LibAAS/pull/5","diff_url":"https://github.com/mastoj/LibAAS/pull/5.diff","patch_url":"https://github.com/mastoj/LibAAS/pull/5.patch","issue_url":"https://api.github.com/repos/mastoj/LibAAS/issues/5","number":5,"state":"open","locked":false,"title":"Making command handlers more explicit","user":{"login":"battermann","id":3968185,"avatar_url":"https://avatars.githubusercontent.com/u/3968185?v=3","gravatar_id":"","url":"https://api.github.com/users/battermann","html_url":"https://github.com/battermann","followers_url":"https://api.github.com/users/battermann/followers","following_url":"https://api.github.com/users/battermann/following{/other_user}","gists_url":"https://api.github.com/users/battermann/gists{/gist_id}","starred_url":"https://api.github.com/users/battermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/battermann/subscriptions","organizations_url":"https://api.github.com/users/battermann/orgs","repos_url":"https://api.github.com/users/battermann/repos","events_url":"https://api.github.com/users/battermann/events{/privacy}","received_events_url":"https://api.github.com/users/battermann/received_events","type":"User","site_admin":false},"body":"As we discussed, I changed the command handlers.\r\n\r\nThe command types of the inputs are now explicit so that we cannot pass a command to the wrong handler anymore. (Which adds some safety at compile time)\r\n\r\nI also updated the code snippets in the readme files.\r\n\r\n","created_at":"2016-04-22T10:07:22Z","updated_at":"2016-04-22T10:07:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mastoj/LibAAS/pulls/5/commits","review_comments_url":"https://api.github.com/repos/mastoj/LibAAS/pulls/5/comments","review_comment_url":"https://api.github.com/repos/mastoj/LibAAS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mastoj/LibAAS/issues/5/comments","statuses_url":"https://api.github.com/repos/mastoj/LibAAS/statuses/6b1b8c7bee7abe3fdc2edc31fce96d34ee6d2d83","head":{"label":"battermann:Making_command_handlers_more_explicit","ref":"Making_command_handlers_more_explicit","sha":"6b1b8c7bee7abe3fdc2edc31fce96d34ee6d2d83","user":{"login":"battermann","id":3968185,"avatar_url":"https://avatars.githubusercontent.com/u/3968185?v=3","gravatar_id":"","url":"https://api.github.com/users/battermann","html_url":"https://github.com/battermann","followers_url":"https://api.github.com/users/battermann/followers","following_url":"https://api.github.com/users/battermann/following{/other_user}","gists_url":"https://api.github.com/users/battermann/gists{/gist_id}","starred_url":"https://api.github.com/users/battermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/battermann/subscriptions","organizations_url":"https://api.github.com/users/battermann/orgs","repos_url":"https://api.github.com/users/battermann/repos","events_url":"https://api.github.com/users/battermann/events{/privacy}","received_events_url":"https://api.github.com/users/battermann/received_events","type":"User","site_admin":false},"repo":{"id":56835639,"name":"LibAAS","full_name":"battermann/LibAAS","owner":{"login":"battermann","id":3968185,"avatar_url":"https://avatars.githubusercontent.com/u/3968185?v=3","gravatar_id":"","url":"https://api.github.com/users/battermann","html_url":"https://github.com/battermann","followers_url":"https://api.github.com/users/battermann/followers","following_url":"https://api.github.com/users/battermann/following{/other_user}","gists_url":"https://api.github.com/users/battermann/gists{/gist_id}","starred_url":"https://api.github.com/users/battermann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/battermann/subscriptions","organizations_url":"https://api.github.com/users/battermann/orgs","repos_url":"https://api.github.com/users/battermann/repos","events_url":"https://api.github.com/users/battermann/events{/privacy}","received_events_url":"https://api.github.com/users/battermann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/battermann/LibAAS","description":"Another sample project showing event sourcing in F#. ","fork":true,"url":"https://api.github.com/repos/battermann/LibAAS","forks_url":"https://api.github.com/repos/battermann/LibAAS/forks","keys_url":"https://api.github.com/repos/battermann/LibAAS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/battermann/LibAAS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/battermann/LibAAS/teams","hooks_url":"https://api.github.com/repos/battermann/LibAAS/hooks","issue_events_url":"https://api.github.com/repos/battermann/LibAAS/issues/events{/number}","events_url":"https://api.github.com/repos/battermann/LibAAS/events","assignees_url":"https://api.github.com/repos/battermann/LibAAS/assignees{/user}","branches_url":"https://api.github.com/repos/battermann/LibAAS/branches{/branch}","tags_url":"https://api.github.com/repos/battermann/LibAAS/tags","blobs_url":"https://api.github.com/repos/battermann/LibAAS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/battermann/LibAAS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/battermann/LibAAS/git/refs{/sha}","trees_url":"https://api.github.com/repos/battermann/LibAAS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/battermann/LibAAS/statuses/{sha}","languages_url":"https://api.github.com/repos/battermann/LibAAS/languages","stargazers_url":"https://api.github.com/repos/battermann/LibAAS/stargazers","contributors_url":"https://api.github.com/repos/battermann/LibAAS/contributors","subscribers_url":"https://api.github.com/repos/battermann/LibAAS/subscribers","subscription_url":"https://api.github.com/repos/battermann/LibAAS/subscription","commits_url":"https://api.github.com/repos/battermann/LibAAS/commits{/sha}","git_commits_url":"https://api.github.com/repos/battermann/LibAAS/git/commits{/sha}","comments_url":"https://api.github.com/repos/battermann/LibAAS/comments{/number}","issue_comment_url":"https://api.github.com/repos/battermann/LibAAS/issues/comments{/number}","contents_url":"https://api.github.com/repos/battermann/LibAAS/contents/{+path}","compare_url":"https://api.github.com/repos/battermann/LibAAS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/battermann/LibAAS/merges","archive_url":"https://api.github.com/repos/battermann/LibAAS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/battermann/LibAAS/downloads","issues_url":"https://api.github.com/repos/battermann/LibAAS/issues{/number}","pulls_url":"https://api.github.com/repos/battermann/LibAAS/pulls{/number}","milestones_url":"https://api.github.com/repos/battermann/LibAAS/milestones{/number}","notifications_url":"https://api.github.com/repos/battermann/LibAAS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/battermann/LibAAS/labels{/name}","releases_url":"https://api.github.com/repos/battermann/LibAAS/releases{/id}","deployments_url":"https://api.github.com/repos/battermann/LibAAS/deployments","created_at":"2016-04-22T07:31:01Z","updated_at":"2016-04-22T07:31:02Z","pushed_at":"2016-04-22T10:03:45Z","git_url":"git://github.com/battermann/LibAAS.git","ssh_url":"git@github.com:battermann/LibAAS.git","clone_url":"https://github.com/battermann/LibAAS.git","svn_url":"https://github.com/battermann/LibAAS","homepage":"","size":116,"stargazers_count":0,"watchers_count":0,"language":"F#","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"mastoj:master","ref":"master","sha":"0032ad3af29ddc17b74ad3b85f44635e3a64eef8","user":{"login":"mastoj","id":501424,"avatar_url":"https://avatars.githubusercontent.com/u/501424?v=3","gravatar_id":"","url":"https://api.github.com/users/mastoj","html_url":"https://github.com/mastoj","followers_url":"https://api.github.com/users/mastoj/followers","following_url":"https://api.github.com/users/mastoj/following{/other_user}","gists_url":"https://api.github.com/users/mastoj/gists{/gist_id}","starred_url":"https://api.github.com/users/mastoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mastoj/subscriptions","organizations_url":"https://api.github.com/users/mastoj/orgs","repos_url":"https://api.github.com/users/mastoj/repos","events_url":"https://api.github.com/users/mastoj/events{/privacy}","received_events_url":"https://api.github.com/users/mastoj/received_events","type":"User","site_admin":false},"repo":{"id":45435053,"name":"LibAAS","full_name":"mastoj/LibAAS","owner":{"login":"mastoj","id":501424,"avatar_url":"https://avatars.githubusercontent.com/u/501424?v=3","gravatar_id":"","url":"https://api.github.com/users/mastoj","html_url":"https://github.com/mastoj","followers_url":"https://api.github.com/users/mastoj/followers","following_url":"https://api.github.com/users/mastoj/following{/other_user}","gists_url":"https://api.github.com/users/mastoj/gists{/gist_id}","starred_url":"https://api.github.com/users/mastoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mastoj/subscriptions","organizations_url":"https://api.github.com/users/mastoj/orgs","repos_url":"https://api.github.com/users/mastoj/repos","events_url":"https://api.github.com/users/mastoj/events{/privacy}","received_events_url":"https://api.github.com/users/mastoj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mastoj/LibAAS","description":"Another sample project showing event sourcing in F#. ","fork":false,"url":"https://api.github.com/repos/mastoj/LibAAS","forks_url":"https://api.github.com/repos/mastoj/LibAAS/forks","keys_url":"https://api.github.com/repos/mastoj/LibAAS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mastoj/LibAAS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mastoj/LibAAS/teams","hooks_url":"https://api.github.com/repos/mastoj/LibAAS/hooks","issue_events_url":"https://api.github.com/repos/mastoj/LibAAS/issues/events{/number}","events_url":"https://api.github.com/repos/mastoj/LibAAS/events","assignees_url":"https://api.github.com/repos/mastoj/LibAAS/assignees{/user}","branches_url":"https://api.github.com/repos/mastoj/LibAAS/branches{/branch}","tags_url":"https://api.github.com/repos/mastoj/LibAAS/tags","blobs_url":"https://api.github.com/repos/mastoj/LibAAS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mastoj/LibAAS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mastoj/LibAAS/git/refs{/sha}","trees_url":"https://api.github.com/repos/mastoj/LibAAS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mastoj/LibAAS/statuses/{sha}","languages_url":"https://api.github.com/repos/mastoj/LibAAS/languages","stargazers_url":"https://api.github.com/repos/mastoj/LibAAS/stargazers","contributors_url":"https://api.github.com/repos/mastoj/LibAAS/contributors","subscribers_url":"https://api.github.com/repos/mastoj/LibAAS/subscribers","subscription_url":"https://api.github.com/repos/mastoj/LibAAS/subscription","commits_url":"https://api.github.com/repos/mastoj/LibAAS/commits{/sha}","git_commits_url":"https://api.github.com/repos/mastoj/LibAAS/git/commits{/sha}","comments_url":"https://api.github.com/repos/mastoj/LibAAS/comments{/number}","issue_comment_url":"https://api.github.com/repos/mastoj/LibAAS/issues/comments{/number}","contents_url":"https://api.github.com/repos/mastoj/LibAAS/contents/{+path}","compare_url":"https://api.github.com/repos/mastoj/LibAAS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mastoj/LibAAS/merges","archive_url":"https://api.github.com/repos/mastoj/LibAAS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mastoj/LibAAS/downloads","issues_url":"https://api.github.com/repos/mastoj/LibAAS/issues{/number}","pulls_url":"https://api.github.com/repos/mastoj/LibAAS/pulls{/number}","milestones_url":"https://api.github.com/repos/mastoj/LibAAS/milestones{/number}","notifications_url":"https://api.github.com/repos/mastoj/LibAAS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mastoj/LibAAS/labels{/name}","releases_url":"https://api.github.com/repos/mastoj/LibAAS/releases{/id}","deployments_url":"https://api.github.com/repos/mastoj/LibAAS/deployments","created_at":"2015-11-03T02:01:02Z","updated_at":"2016-04-21T22:41:47Z","pushed_at":"2016-04-08T20:24:52Z","git_url":"git://github.com/mastoj/LibAAS.git","ssh_url":"git@github.com:mastoj/LibAAS.git","clone_url":"https://github.com/mastoj/LibAAS.git","svn_url":"https://github.com/mastoj/LibAAS","homepage":"","size":105,"stargazers_count":8,"watchers_count":8,"language":"F#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mastoj/LibAAS/pulls/5"},"html":{"href":"https://github.com/mastoj/LibAAS/pull/5"},"issue":{"href":"https://api.github.com/repos/mastoj/LibAAS/issues/5"},"comments":{"href":"https://api.github.com/repos/mastoj/LibAAS/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/mastoj/LibAAS/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/mastoj/LibAAS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mastoj/LibAAS/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/mastoj/LibAAS/statuses/6b1b8c7bee7abe3fdc2edc31fce96d34ee6d2d83"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":12,"additions":270,"deletions":236,"changed_files":38}}