{"action":"created","issue":{"url":"https://api.github.com/repos/Jagged/OneOf/issues/6","repository_url":"https://api.github.com/repos/Jagged/OneOf","labels_url":"https://api.github.com/repos/Jagged/OneOf/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Jagged/OneOf/issues/6/comments","events_url":"https://api.github.com/repos/Jagged/OneOf/issues/6/events","html_url":"https://github.com/Jagged/OneOf/issues/6","id":196816177,"number":6,"title":"When clauses?","user":{"login":"jamesbascle","id":4188293,"avatar_url":"https://avatars.githubusercontent.com/u/4188293?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesbascle","html_url":"https://github.com/jamesbascle","followers_url":"https://api.github.com/users/jamesbascle/followers","following_url":"https://api.github.com/users/jamesbascle/following{/other_user}","gists_url":"https://api.github.com/users/jamesbascle/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesbascle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesbascle/subscriptions","organizations_url":"https://api.github.com/users/jamesbascle/orgs","repos_url":"https://api.github.com/users/jamesbascle/repos","events_url":"https://api.github.com/users/jamesbascle/events{/privacy}","received_events_url":"https://api.github.com/users/jamesbascle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-12-21T00:27:38Z","updated_at":"2016-12-22T02:11:56Z","closed_at":null,"body":"I was suggested this by some folks who gave the library a look.  Similar to the When clauses as seen in C#7, F#, and other functional languages, we should enable a .When method during matching to additionally filter on conditions relevant to the specific type.\r\n\r\nI *think* this can be accomplished without a huge rewrite of the OneOfMatcher flow to use a builder, but I'm not 100% on that.\r\n\r\nThoughts?"},"comment":{"url":"https://api.github.com/repos/Jagged/OneOf/issues/comments/268700251","html_url":"https://github.com/Jagged/OneOf/issues/6#issuecomment-268700251","issue_url":"https://api.github.com/repos/Jagged/OneOf/issues/6","id":268700251,"user":{"login":"jamesbascle","id":4188293,"avatar_url":"https://avatars.githubusercontent.com/u/4188293?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesbascle","html_url":"https://github.com/jamesbascle","followers_url":"https://api.github.com/users/jamesbascle/followers","following_url":"https://api.github.com/users/jamesbascle/following{/other_user}","gists_url":"https://api.github.com/users/jamesbascle/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesbascle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesbascle/subscriptions","organizations_url":"https://api.github.com/users/jamesbascle/orgs","repos_url":"https://api.github.com/users/jamesbascle/repos","events_url":"https://api.github.com/users/jamesbascle/events{/privacy}","received_events_url":"https://api.github.com/users/jamesbascle/received_events","type":"User","site_admin":false},"created_at":"2016-12-22T02:11:55Z","updated_at":"2016-12-22T02:11:55Z","body":"Yeah I agree.  I may give it a go sometime in the next couple of weeks, but I think your implementation is totally fine."}}
{"actor":{"display_login":"jamesbascle"}}