{"action":"closed","number":48,"pull_request":{"url":"https://api.github.com/repos/buildo/metarpheus/pulls/48","id":76194430,"html_url":"https://github.com/buildo/metarpheus/pull/48","diff_url":"https://github.com/buildo/metarpheus/pull/48.diff","patch_url":"https://github.com/buildo/metarpheus/pull/48.patch","issue_url":"https://api.github.com/repos/buildo/metarpheus/issues/48","number":48,"state":"closed","locked":false,"title":"Add support for case class params extractors","user":{"login":"gabro","id":691940,"avatar_url":"https://avatars.githubusercontent.com/u/691940?v=3","gravatar_id":"","url":"https://api.github.com/users/gabro","html_url":"https://github.com/gabro","followers_url":"https://api.github.com/users/gabro/followers","following_url":"https://api.github.com/users/gabro/following{/other_user}","gists_url":"https://api.github.com/users/gabro/gists{/gist_id}","starred_url":"https://api.github.com/users/gabro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabro/subscriptions","organizations_url":"https://api.github.com/users/gabro/orgs","repos_url":"https://api.github.com/users/gabro/repos","events_url":"https://api.github.com/users/gabro/events{/privacy}","received_events_url":"https://api.github.com/users/gabro/received_events","type":"User","site_admin":false},"body":"Add support for case class parameters extractors, e.g. appending `.as(Foo)` to parameter(s) directives\r\n\r\nExample:\r\n\r\n```scala\r\n(get & pathEnd & parameters('size.as[Int], 'distance.as[Int]).as(Foo) /**\r\n```\r\n\r\nthis currently throws a `MatchError`. This PR allows the syntax (and discards the case class information, as not relevant for routing purposes)","created_at":"2016-07-04T19:06:33Z","updated_at":"2016-07-04T19:08:51Z","closed_at":"2016-07-04T19:08:51Z","merged_at":"2016-07-04T19:08:51Z","merge_commit_sha":"c618ab405c5680a9e6d9dbfca231ea39f69e9770","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/buildo/metarpheus/pulls/48/commits","review_comments_url":"https://api.github.com/repos/buildo/metarpheus/pulls/48/comments","review_comment_url":"https://api.github.com/repos/buildo/metarpheus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/buildo/metarpheus/issues/48/comments","statuses_url":"https://api.github.com/repos/buildo/metarpheus/statuses/a9c5be842bb8fd97e3ba704f6527708ffc6c8ad4","head":{"label":"buildo:case-class-extractors","ref":"case-class-extractors","sha":"a9c5be842bb8fd97e3ba704f6527708ffc6c8ad4","user":{"login":"buildo","id":7370958,"avatar_url":"https://avatars.githubusercontent.com/u/7370958?v=3","gravatar_id":"","url":"https://api.github.com/users/buildo","html_url":"https://github.com/buildo","followers_url":"https://api.github.com/users/buildo/followers","following_url":"https://api.github.com/users/buildo/following{/other_user}","gists_url":"https://api.github.com/users/buildo/gists{/gist_id}","starred_url":"https://api.github.com/users/buildo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buildo/subscriptions","organizations_url":"https://api.github.com/users/buildo/orgs","repos_url":"https://api.github.com/users/buildo/repos","events_url":"https://api.github.com/users/buildo/events{/privacy}","received_events_url":"https://api.github.com/users/buildo/received_events","type":"Organization","site_admin":false},"repo":{"id":41034639,"name":"metarpheus","full_name":"buildo/metarpheus","owner":{"login":"buildo","id":7370958,"avatar_url":"https://avatars.githubusercontent.com/u/7370958?v=3","gravatar_id":"","url":"https://api.github.com/users/buildo","html_url":"https://github.com/buildo","followers_url":"https://api.github.com/users/buildo/followers","following_url":"https://api.github.com/users/buildo/following{/other_user}","gists_url":"https://api.github.com/users/buildo/gists{/gist_id}","starred_url":"https://api.github.com/users/buildo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buildo/subscriptions","organizations_url":"https://api.github.com/users/buildo/orgs","repos_url":"https://api.github.com/users/buildo/repos","events_url":"https://api.github.com/users/buildo/events{/privacy}","received_events_url":"https://api.github.com/users/buildo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/buildo/metarpheus","description":"Auto-extract models and apis from a spray-based server","fork":false,"url":"https://api.github.com/repos/buildo/metarpheus","forks_url":"https://api.github.com/repos/buildo/metarpheus/forks","keys_url":"https://api.github.com/repos/buildo/metarpheus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/buildo/metarpheus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/buildo/metarpheus/teams","hooks_url":"https://api.github.com/repos/buildo/metarpheus/hooks","issue_events_url":"https://api.github.com/repos/buildo/metarpheus/issues/events{/number}","events_url":"https://api.github.com/repos/buildo/metarpheus/events","assignees_url":"https://api.github.com/repos/buildo/metarpheus/assignees{/user}","branches_url":"https://api.github.com/repos/buildo/metarpheus/branches{/branch}","tags_url":"https://api.github.com/repos/buildo/metarpheus/tags","blobs_url":"https://api.github.com/repos/buildo/metarpheus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/buildo/metarpheus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/buildo/metarpheus/git/refs{/sha}","trees_url":"https://api.github.com/repos/buildo/metarpheus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/buildo/metarpheus/statuses/{sha}","languages_url":"https://api.github.com/repos/buildo/metarpheus/languages","stargazers_url":"https://api.github.com/repos/buildo/metarpheus/stargazers","contributors_url":"https://api.github.com/repos/buildo/metarpheus/contributors","subscribers_url":"https://api.github.com/repos/buildo/metarpheus/subscribers","subscription_url":"https://api.github.com/repos/buildo/metarpheus/subscription","commits_url":"https://api.github.com/repos/buildo/metarpheus/commits{/sha}","git_commits_url":"https://api.github.com/repos/buildo/metarpheus/git/commits{/sha}","comments_url":"https://api.github.com/repos/buildo/metarpheus/comments{/number}","issue_comment_url":"https://api.github.com/repos/buildo/metarpheus/issues/comments{/number}","contents_url":"https://api.github.com/repos/buildo/metarpheus/contents/{+path}","compare_url":"https://api.github.com/repos/buildo/metarpheus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/buildo/metarpheus/merges","archive_url":"https://api.github.com/repos/buildo/metarpheus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/buildo/metarpheus/downloads","issues_url":"https://api.github.com/repos/buildo/metarpheus/issues{/number}","pulls_url":"https://api.github.com/repos/buildo/metarpheus/pulls{/number}","milestones_url":"https://api.github.com/repos/buildo/metarpheus/milestones{/number}","notifications_url":"https://api.github.com/repos/buildo/metarpheus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/buildo/metarpheus/labels{/name}","releases_url":"https://api.github.com/repos/buildo/metarpheus/releases{/id}","deployments_url":"https://api.github.com/repos/buildo/metarpheus/deployments","created_at":"2015-08-19T13:12:53Z","updated_at":"2016-05-23T14:09:51Z","pushed_at":"2016-07-04T19:08:52Z","git_url":"git://github.com/buildo/metarpheus.git","ssh_url":"git@github.com:buildo/metarpheus.git","clone_url":"https://github.com/buildo/metarpheus.git","svn_url":"https://github.com/buildo/metarpheus","homepage":null,"size":71,"stargazers_count":17,"watchers_count":17,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":17,"default_branch":"master"}},"base":{"label":"buildo:master","ref":"master","sha":"dfc93ff675121ed524c7d23ad4c5c0ac77f4e89c","user":{"login":"buildo","id":7370958,"avatar_url":"https://avatars.githubusercontent.com/u/7370958?v=3","gravatar_id":"","url":"https://api.github.com/users/buildo","html_url":"https://github.com/buildo","followers_url":"https://api.github.com/users/buildo/followers","following_url":"https://api.github.com/users/buildo/following{/other_user}","gists_url":"https://api.github.com/users/buildo/gists{/gist_id}","starred_url":"https://api.github.com/users/buildo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buildo/subscriptions","organizations_url":"https://api.github.com/users/buildo/orgs","repos_url":"https://api.github.com/users/buildo/repos","events_url":"https://api.github.com/users/buildo/events{/privacy}","received_events_url":"https://api.github.com/users/buildo/received_events","type":"Organization","site_admin":false},"repo":{"id":41034639,"name":"metarpheus","full_name":"buildo/metarpheus","owner":{"login":"buildo","id":7370958,"avatar_url":"https://avatars.githubusercontent.com/u/7370958?v=3","gravatar_id":"","url":"https://api.github.com/users/buildo","html_url":"https://github.com/buildo","followers_url":"https://api.github.com/users/buildo/followers","following_url":"https://api.github.com/users/buildo/following{/other_user}","gists_url":"https://api.github.com/users/buildo/gists{/gist_id}","starred_url":"https://api.github.com/users/buildo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buildo/subscriptions","organizations_url":"https://api.github.com/users/buildo/orgs","repos_url":"https://api.github.com/users/buildo/repos","events_url":"https://api.github.com/users/buildo/events{/privacy}","received_events_url":"https://api.github.com/users/buildo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/buildo/metarpheus","description":"Auto-extract models and apis from a spray-based server","fork":false,"url":"https://api.github.com/repos/buildo/metarpheus","forks_url":"https://api.github.com/repos/buildo/metarpheus/forks","keys_url":"https://api.github.com/repos/buildo/metarpheus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/buildo/metarpheus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/buildo/metarpheus/teams","hooks_url":"https://api.github.com/repos/buildo/metarpheus/hooks","issue_events_url":"https://api.github.com/repos/buildo/metarpheus/issues/events{/number}","events_url":"https://api.github.com/repos/buildo/metarpheus/events","assignees_url":"https://api.github.com/repos/buildo/metarpheus/assignees{/user}","branches_url":"https://api.github.com/repos/buildo/metarpheus/branches{/branch}","tags_url":"https://api.github.com/repos/buildo/metarpheus/tags","blobs_url":"https://api.github.com/repos/buildo/metarpheus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/buildo/metarpheus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/buildo/metarpheus/git/refs{/sha}","trees_url":"https://api.github.com/repos/buildo/metarpheus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/buildo/metarpheus/statuses/{sha}","languages_url":"https://api.github.com/repos/buildo/metarpheus/languages","stargazers_url":"https://api.github.com/repos/buildo/metarpheus/stargazers","contributors_url":"https://api.github.com/repos/buildo/metarpheus/contributors","subscribers_url":"https://api.github.com/repos/buildo/metarpheus/subscribers","subscription_url":"https://api.github.com/repos/buildo/metarpheus/subscription","commits_url":"https://api.github.com/repos/buildo/metarpheus/commits{/sha}","git_commits_url":"https://api.github.com/repos/buildo/metarpheus/git/commits{/sha}","comments_url":"https://api.github.com/repos/buildo/metarpheus/comments{/number}","issue_comment_url":"https://api.github.com/repos/buildo/metarpheus/issues/comments{/number}","contents_url":"https://api.github.com/repos/buildo/metarpheus/contents/{+path}","compare_url":"https://api.github.com/repos/buildo/metarpheus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/buildo/metarpheus/merges","archive_url":"https://api.github.com/repos/buildo/metarpheus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/buildo/metarpheus/downloads","issues_url":"https://api.github.com/repos/buildo/metarpheus/issues{/number}","pulls_url":"https://api.github.com/repos/buildo/metarpheus/pulls{/number}","milestones_url":"https://api.github.com/repos/buildo/metarpheus/milestones{/number}","notifications_url":"https://api.github.com/repos/buildo/metarpheus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/buildo/metarpheus/labels{/name}","releases_url":"https://api.github.com/repos/buildo/metarpheus/releases{/id}","deployments_url":"https://api.github.com/repos/buildo/metarpheus/deployments","created_at":"2015-08-19T13:12:53Z","updated_at":"2016-05-23T14:09:51Z","pushed_at":"2016-07-04T19:08:52Z","git_url":"git://github.com/buildo/metarpheus.git","ssh_url":"git@github.com:buildo/metarpheus.git","clone_url":"https://github.com/buildo/metarpheus.git","svn_url":"https://github.com/buildo/metarpheus","homepage":null,"size":71,"stargazers_count":17,"watchers_count":17,"language":"Scala","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/buildo/metarpheus/pulls/48"},"html":{"href":"https://github.com/buildo/metarpheus/pull/48"},"issue":{"href":"https://api.github.com/repos/buildo/metarpheus/issues/48"},"comments":{"href":"https://api.github.com/repos/buildo/metarpheus/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/buildo/metarpheus/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/buildo/metarpheus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/buildo/metarpheus/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/buildo/metarpheus/statuses/a9c5be842bb8fd97e3ba704f6527708ffc6c8ad4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"gabro","id":691940,"avatar_url":"https://avatars.githubusercontent.com/u/691940?v=3","gravatar_id":"","url":"https://api.github.com/users/gabro","html_url":"https://github.com/gabro","followers_url":"https://api.github.com/users/gabro/followers","following_url":"https://api.github.com/users/gabro/following{/other_user}","gists_url":"https://api.github.com/users/gabro/gists{/gist_id}","starred_url":"https://api.github.com/users/gabro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabro/subscriptions","organizations_url":"https://api.github.com/users/gabro/orgs","repos_url":"https://api.github.com/users/gabro/repos","events_url":"https://api.github.com/users/gabro/events{/privacy}","received_events_url":"https://api.github.com/users/gabro/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":33,"deletions":1,"changed_files":3}}
{"actor":{"display_login":"gabro"}}