{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/gawkermedia/soy/pulls/5","id":33393094,"html_url":"https://github.com/gawkermedia/soy/pull/5","diff_url":"https://github.com/gawkermedia/soy/pull/5.diff","patch_url":"https://github.com/gawkermedia/soy/pull/5.patch","issue_url":"https://api.github.com/repos/gawkermedia/soy/issues/5","number":5,"state":"closed","locked":false,"title":"Support Generic Case Classes with the Soy.Writes macro.","user":{"login":"ChrisNeveu","id":1002726,"avatar_url":"https://avatars.githubusercontent.com/u/1002726?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisNeveu","html_url":"https://github.com/ChrisNeveu","followers_url":"https://api.github.com/users/ChrisNeveu/followers","following_url":"https://api.github.com/users/ChrisNeveu/following{/other_user}","gists_url":"https://api.github.com/users/ChrisNeveu/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisNeveu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisNeveu/subscriptions","organizations_url":"https://api.github.com/users/ChrisNeveu/orgs","repos_url":"https://api.github.com/users/ChrisNeveu/repos","events_url":"https://api.github.com/users/ChrisNeveu/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisNeveu/received_events","type":"User","site_admin":false},"body":"@pozsi This PR extends the `writes` macro with support for generic classes.\r\n```scala\r\ncase class Foo[A](a : A)\r\nobject Foo {\r\n   // This now works. Previously reported \"No apply function found matching unapply parameters\".\r\n   implicit def Foo_SoyMapWrites[A : SoyMapWrites] = Soy.writes[Foo[A]]\r\n}\r\n```\r\n\r\n## Testing\r\nTry everything you can to break the macro or get it to generate an incorrect instance.","created_at":"2015-04-15T20:29:09Z","updated_at":"2015-04-16T16:44:28Z","closed_at":"2015-04-16T16:44:28Z","merged_at":"2015-04-16T16:44:28Z","merge_commit_sha":"17baba60847ce976dc7485dcb4c5b4741c7837f0","assignee":{"login":"pozsi","id":1050051,"avatar_url":"https://avatars.githubusercontent.com/u/1050051?v=3","gravatar_id":"","url":"https://api.github.com/users/pozsi","html_url":"https://github.com/pozsi","followers_url":"https://api.github.com/users/pozsi/followers","following_url":"https://api.github.com/users/pozsi/following{/other_user}","gists_url":"https://api.github.com/users/pozsi/gists{/gist_id}","starred_url":"https://api.github.com/users/pozsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pozsi/subscriptions","organizations_url":"https://api.github.com/users/pozsi/orgs","repos_url":"https://api.github.com/users/pozsi/repos","events_url":"https://api.github.com/users/pozsi/events{/privacy}","received_events_url":"https://api.github.com/users/pozsi/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/gawkermedia/soy/pulls/5/commits","review_comments_url":"https://api.github.com/repos/gawkermedia/soy/pulls/5/comments","review_comment_url":"https://api.github.com/repos/gawkermedia/soy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gawkermedia/soy/issues/5/comments","statuses_url":"https://api.github.com/repos/gawkermedia/soy/statuses/80439ce684317eead9f3262e60696159e6aeca52","head":{"label":"gawkermedia:macroGenericSupport","ref":"macroGenericSupport","sha":"80439ce684317eead9f3262e60696159e6aeca52","user":{"login":"gawkermedia","id":852924,"avatar_url":"https://avatars.githubusercontent.com/u/852924?v=3","gravatar_id":"","url":"https://api.github.com/users/gawkermedia","html_url":"https://github.com/gawkermedia","followers_url":"https://api.github.com/users/gawkermedia/followers","following_url":"https://api.github.com/users/gawkermedia/following{/other_user}","gists_url":"https://api.github.com/users/gawkermedia/gists{/gist_id}","starred_url":"https://api.github.com/users/gawkermedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gawkermedia/subscriptions","organizations_url":"https://api.github.com/users/gawkermedia/orgs","repos_url":"https://api.github.com/users/gawkermedia/repos","events_url":"https://api.github.com/users/gawkermedia/events{/privacy}","received_events_url":"https://api.github.com/users/gawkermedia/received_events","type":"Organization","site_admin":false},"repo":{"id":16909057,"name":"soy","full_name":"gawkermedia/soy","owner":{"login":"gawkermedia","id":852924,"avatar_url":"https://avatars.githubusercontent.com/u/852924?v=3","gravatar_id":"","url":"https://api.github.com/users/gawkermedia","html_url":"https://github.com/gawkermedia","followers_url":"https://api.github.com/users/gawkermedia/followers","following_url":"https://api.github.com/users/gawkermedia/following{/other_user}","gists_url":"https://api.github.com/users/gawkermedia/gists{/gist_id}","starred_url":"https://api.github.com/users/gawkermedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gawkermedia/subscriptions","organizations_url":"https://api.github.com/users/gawkermedia/orgs","repos_url":"https://api.github.com/users/gawkermedia/repos","events_url":"https://api.github.com/users/gawkermedia/events{/privacy}","received_events_url":"https://api.github.com/users/gawkermedia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gawkermedia/soy","description":"Helper classes for converting data to Soy for Google Closure Template rendering","fork":false,"url":"https://api.github.com/repos/gawkermedia/soy","forks_url":"https://api.github.com/repos/gawkermedia/soy/forks","keys_url":"https://api.github.com/repos/gawkermedia/soy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gawkermedia/soy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gawkermedia/soy/teams","hooks_url":"https://api.github.com/repos/gawkermedia/soy/hooks","issue_events_url":"https://api.github.com/repos/gawkermedia/soy/issues/events{/number}","events_url":"https://api.github.com/repos/gawkermedia/soy/events","assignees_url":"https://api.github.com/repos/gawkermedia/soy/assignees{/user}","branches_url":"https://api.github.com/repos/gawkermedia/soy/branches{/branch}","tags_url":"https://api.github.com/repos/gawkermedia/soy/tags","blobs_url":"https://api.github.com/repos/gawkermedia/soy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gawkermedia/soy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gawkermedia/soy/git/refs{/sha}","trees_url":"https://api.github.com/repos/gawkermedia/soy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gawkermedia/soy/statuses/{sha}","languages_url":"https://api.github.com/repos/gawkermedia/soy/languages","stargazers_url":"https://api.github.com/repos/gawkermedia/soy/stargazers","contributors_url":"https://api.github.com/repos/gawkermedia/soy/contributors","subscribers_url":"https://api.github.com/repos/gawkermedia/soy/subscribers","subscription_url":"https://api.github.com/repos/gawkermedia/soy/subscription","commits_url":"https://api.github.com/repos/gawkermedia/soy/commits{/sha}","git_commits_url":"https://api.github.com/repos/gawkermedia/soy/git/commits{/sha}","comments_url":"https://api.github.com/repos/gawkermedia/soy/comments{/number}","issue_comment_url":"https://api.github.com/repos/gawkermedia/soy/issues/comments{/number}","contents_url":"https://api.github.com/repos/gawkermedia/soy/contents/{+path}","compare_url":"https://api.github.com/repos/gawkermedia/soy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gawkermedia/soy/merges","archive_url":"https://api.github.com/repos/gawkermedia/soy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gawkermedia/soy/downloads","issues_url":"https://api.github.com/repos/gawkermedia/soy/issues{/number}","pulls_url":"https://api.github.com/repos/gawkermedia/soy/pulls{/number}","milestones_url":"https://api.github.com/repos/gawkermedia/soy/milestones{/number}","notifications_url":"https://api.github.com/repos/gawkermedia/soy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gawkermedia/soy/labels{/name}","releases_url":"https://api.github.com/repos/gawkermedia/soy/releases{/id}","created_at":"2014-02-17T10:14:53Z","updated_at":"2015-04-15T15:34:30Z","pushed_at":"2015-04-16T16:44:28Z","git_url":"git://github.com/gawkermedia/soy.git","ssh_url":"git@github.com:gawkermedia/soy.git","clone_url":"https://github.com/gawkermedia/soy.git","svn_url":"https://github.com/gawkermedia/soy","homepage":null,"size":252,"stargazers_count":4,"watchers_count":4,"language":"Scala","has_issues":true,"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":4,"default_branch":"master"}},"base":{"label":"gawkermedia:master","ref":"master","sha":"8c0f359356970b97435ea99744d5a0e8dff63356","user":{"login":"gawkermedia","id":852924,"avatar_url":"https://avatars.githubusercontent.com/u/852924?v=3","gravatar_id":"","url":"https://api.github.com/users/gawkermedia","html_url":"https://github.com/gawkermedia","followers_url":"https://api.github.com/users/gawkermedia/followers","following_url":"https://api.github.com/users/gawkermedia/following{/other_user}","gists_url":"https://api.github.com/users/gawkermedia/gists{/gist_id}","starred_url":"https://api.github.com/users/gawkermedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gawkermedia/subscriptions","organizations_url":"https://api.github.com/users/gawkermedia/orgs","repos_url":"https://api.github.com/users/gawkermedia/repos","events_url":"https://api.github.com/users/gawkermedia/events{/privacy}","received_events_url":"https://api.github.com/users/gawkermedia/received_events","type":"Organization","site_admin":false},"repo":{"id":16909057,"name":"soy","full_name":"gawkermedia/soy","owner":{"login":"gawkermedia","id":852924,"avatar_url":"https://avatars.githubusercontent.com/u/852924?v=3","gravatar_id":"","url":"https://api.github.com/users/gawkermedia","html_url":"https://github.com/gawkermedia","followers_url":"https://api.github.com/users/gawkermedia/followers","following_url":"https://api.github.com/users/gawkermedia/following{/other_user}","gists_url":"https://api.github.com/users/gawkermedia/gists{/gist_id}","starred_url":"https://api.github.com/users/gawkermedia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gawkermedia/subscriptions","organizations_url":"https://api.github.com/users/gawkermedia/orgs","repos_url":"https://api.github.com/users/gawkermedia/repos","events_url":"https://api.github.com/users/gawkermedia/events{/privacy}","received_events_url":"https://api.github.com/users/gawkermedia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gawkermedia/soy","description":"Helper classes for converting data to Soy for Google Closure Template rendering","fork":false,"url":"https://api.github.com/repos/gawkermedia/soy","forks_url":"https://api.github.com/repos/gawkermedia/soy/forks","keys_url":"https://api.github.com/repos/gawkermedia/soy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gawkermedia/soy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gawkermedia/soy/teams","hooks_url":"https://api.github.com/repos/gawkermedia/soy/hooks","issue_events_url":"https://api.github.com/repos/gawkermedia/soy/issues/events{/number}","events_url":"https://api.github.com/repos/gawkermedia/soy/events","assignees_url":"https://api.github.com/repos/gawkermedia/soy/assignees{/user}","branches_url":"https://api.github.com/repos/gawkermedia/soy/branches{/branch}","tags_url":"https://api.github.com/repos/gawkermedia/soy/tags","blobs_url":"https://api.github.com/repos/gawkermedia/soy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gawkermedia/soy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gawkermedia/soy/git/refs{/sha}","trees_url":"https://api.github.com/repos/gawkermedia/soy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gawkermedia/soy/statuses/{sha}","languages_url":"https://api.github.com/repos/gawkermedia/soy/languages","stargazers_url":"https://api.github.com/repos/gawkermedia/soy/stargazers","contributors_url":"https://api.github.com/repos/gawkermedia/soy/contributors","subscribers_url":"https://api.github.com/repos/gawkermedia/soy/subscribers","subscription_url":"https://api.github.com/repos/gawkermedia/soy/subscription","commits_url":"https://api.github.com/repos/gawkermedia/soy/commits{/sha}","git_commits_url":"https://api.github.com/repos/gawkermedia/soy/git/commits{/sha}","comments_url":"https://api.github.com/repos/gawkermedia/soy/comments{/number}","issue_comment_url":"https://api.github.com/repos/gawkermedia/soy/issues/comments{/number}","contents_url":"https://api.github.com/repos/gawkermedia/soy/contents/{+path}","compare_url":"https://api.github.com/repos/gawkermedia/soy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gawkermedia/soy/merges","archive_url":"https://api.github.com/repos/gawkermedia/soy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gawkermedia/soy/downloads","issues_url":"https://api.github.com/repos/gawkermedia/soy/issues{/number}","pulls_url":"https://api.github.com/repos/gawkermedia/soy/pulls{/number}","milestones_url":"https://api.github.com/repos/gawkermedia/soy/milestones{/number}","notifications_url":"https://api.github.com/repos/gawkermedia/soy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gawkermedia/soy/labels{/name}","releases_url":"https://api.github.com/repos/gawkermedia/soy/releases{/id}","created_at":"2014-02-17T10:14:53Z","updated_at":"2015-04-15T15:34:30Z","pushed_at":"2015-04-16T16:44:28Z","git_url":"git://github.com/gawkermedia/soy.git","ssh_url":"git@github.com:gawkermedia/soy.git","clone_url":"https://github.com/gawkermedia/soy.git","svn_url":"https://github.com/gawkermedia/soy","homepage":null,"size":252,"stargazers_count":4,"watchers_count":4,"language":"Scala","has_issues":true,"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":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gawkermedia/soy/pulls/5"},"html":{"href":"https://github.com/gawkermedia/soy/pull/5"},"issue":{"href":"https://api.github.com/repos/gawkermedia/soy/issues/5"},"comments":{"href":"https://api.github.com/repos/gawkermedia/soy/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/gawkermedia/soy/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/gawkermedia/soy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gawkermedia/soy/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/gawkermedia/soy/statuses/80439ce684317eead9f3262e60696159e6aeca52"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ChrisNeveu","id":1002726,"avatar_url":"https://avatars.githubusercontent.com/u/1002726?v=3","gravatar_id":"","url":"https://api.github.com/users/ChrisNeveu","html_url":"https://github.com/ChrisNeveu","followers_url":"https://api.github.com/users/ChrisNeveu/followers","following_url":"https://api.github.com/users/ChrisNeveu/following{/other_user}","gists_url":"https://api.github.com/users/ChrisNeveu/gists{/gist_id}","starred_url":"https://api.github.com/users/ChrisNeveu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChrisNeveu/subscriptions","organizations_url":"https://api.github.com/users/ChrisNeveu/orgs","repos_url":"https://api.github.com/users/ChrisNeveu/repos","events_url":"https://api.github.com/users/ChrisNeveu/events{/privacy}","received_events_url":"https://api.github.com/users/ChrisNeveu/received_events","type":"User","site_admin":false},"comments":1,"review_comments":2,"commits":1,"additions":88,"deletions":34,"changed_files":4}}