{"action":"created","comment":{"url":"https://api.github.com/repos/Zewo/Resource/pulls/comments/61988747","id":61988747,"diff_hunk":"@@ -24,48 +24,35 @@ extension Todo: ContentMappable {\n extension Todo: StructuredDataRepresentable {\n     public var structuredData: StructuredData {\n         return [\n-            \"id\": id.map({StructuredData.from($0)}) ?? nil,\n-            \"title\": StructuredData.from(title),\n-            \"done\": StructuredData.from(done)\n+            \"id\": id.map({StructuredData($0)}) ?? nil,\n+            \"title\": StructuredData(title),\n+            \"done\": StructuredData(done)\n         ]\n     }\n }\n \n class ResourceTests: XCTestCase {\n     func testReality() {","path":"Tests/Resource/ResourceTests.swift","position":15,"original_position":15,"commit_id":"03f662ed50aaedb2c3fcfa3d8885a7a73814e389","original_commit_id":"03f662ed50aaedb2c3fcfa3d8885a7a73814e389","user":{"login":"Danappelxx","id":3291251,"avatar_url":"https://avatars.githubusercontent.com/u/3291251?v=3","gravatar_id":"","url":"https://api.github.com/users/Danappelxx","html_url":"https://github.com/Danappelxx","followers_url":"https://api.github.com/users/Danappelxx/followers","following_url":"https://api.github.com/users/Danappelxx/following{/other_user}","gists_url":"https://api.github.com/users/Danappelxx/gists{/gist_id}","starred_url":"https://api.github.com/users/Danappelxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Danappelxx/subscriptions","organizations_url":"https://api.github.com/users/Danappelxx/orgs","repos_url":"https://api.github.com/users/Danappelxx/repos","events_url":"https://api.github.com/users/Danappelxx/events{/privacy}","received_events_url":"https://api.github.com/users/Danappelxx/received_events","type":"User","site_admin":false},"body":"I think we need more tests here. While I have faith in your code, theres a lot of points where it could go wrong (especially with the `Mapper` stuff).","created_at":"2016-05-04T04:10:08Z","updated_at":"2016-05-04T04:10:08Z","html_url":"https://github.com/Zewo/Resource/pull/1#discussion_r61988747","pull_request_url":"https://api.github.com/repos/Zewo/Resource/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Zewo/Resource/pulls/comments/61988747"},"html":{"href":"https://github.com/Zewo/Resource/pull/1#discussion_r61988747"},"pull_request":{"href":"https://api.github.com/repos/Zewo/Resource/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Zewo/Resource/pulls/1","id":68808023,"html_url":"https://github.com/Zewo/Resource/pull/1","diff_url":"https://github.com/Zewo/Resource/pull/1.diff","patch_url":"https://github.com/Zewo/Resource/pull/1.patch","issue_url":"https://api.github.com/repos/Zewo/Resource/issues/1","number":1,"state":"open","locked":false,"title":"make resource router","user":{"login":"paulofaria","id":5126193,"avatar_url":"https://avatars.githubusercontent.com/u/5126193?v=3","gravatar_id":"","url":"https://api.github.com/users/paulofaria","html_url":"https://github.com/paulofaria","followers_url":"https://api.github.com/users/paulofaria/followers","following_url":"https://api.github.com/users/paulofaria/following{/other_user}","gists_url":"https://api.github.com/users/paulofaria/gists{/gist_id}","starred_url":"https://api.github.com/users/paulofaria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulofaria/subscriptions","organizations_url":"https://api.github.com/users/paulofaria/orgs","repos_url":"https://api.github.com/users/paulofaria/repos","events_url":"https://api.github.com/users/paulofaria/events{/privacy}","received_events_url":"https://api.github.com/users/paulofaria/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-04T03:51:58Z","updated_at":"2016-05-04T04:10:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aafc3de5309d89bcfcd1d2dcb20506caf7833849","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Zewo/Resource/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Zewo/Resource/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Zewo/Resource/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Zewo/Resource/issues/1/comments","statuses_url":"https://api.github.com/repos/Zewo/Resource/statuses/03f662ed50aaedb2c3fcfa3d8885a7a73814e389","head":{"label":"Zewo:make-resource-router","ref":"make-resource-router","sha":"03f662ed50aaedb2c3fcfa3d8885a7a73814e389","user":{"login":"Zewo","id":12739462,"avatar_url":"https://avatars.githubusercontent.com/u/12739462?v=3","gravatar_id":"","url":"https://api.github.com/users/Zewo","html_url":"https://github.com/Zewo","followers_url":"https://api.github.com/users/Zewo/followers","following_url":"https://api.github.com/users/Zewo/following{/other_user}","gists_url":"https://api.github.com/users/Zewo/gists{/gist_id}","starred_url":"https://api.github.com/users/Zewo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zewo/subscriptions","organizations_url":"https://api.github.com/users/Zewo/orgs","repos_url":"https://api.github.com/users/Zewo/repos","events_url":"https://api.github.com/users/Zewo/events{/privacy}","received_events_url":"https://api.github.com/users/Zewo/received_events","type":"Organization","site_admin":false},"repo":{"id":54859114,"name":"Resource","full_name":"Zewo/Resource","owner":{"login":"Zewo","id":12739462,"avatar_url":"https://avatars.githubusercontent.com/u/12739462?v=3","gravatar_id":"","url":"https://api.github.com/users/Zewo","html_url":"https://github.com/Zewo","followers_url":"https://api.github.com/users/Zewo/followers","following_url":"https://api.github.com/users/Zewo/following{/other_user}","gists_url":"https://api.github.com/users/Zewo/gists{/gist_id}","starred_url":"https://api.github.com/users/Zewo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zewo/subscriptions","organizations_url":"https://api.github.com/users/Zewo/orgs","repos_url":"https://api.github.com/users/Zewo/repos","events_url":"https://api.github.com/users/Zewo/events{/privacy}","received_events_url":"https://api.github.com/users/Zewo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Zewo/Resource","description":"RESTful resources for Zewo's Router","fork":false,"url":"https://api.github.com/repos/Zewo/Resource","forks_url":"https://api.github.com/repos/Zewo/Resource/forks","keys_url":"https://api.github.com/repos/Zewo/Resource/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Zewo/Resource/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Zewo/Resource/teams","hooks_url":"https://api.github.com/repos/Zewo/Resource/hooks","issue_events_url":"https://api.github.com/repos/Zewo/Resource/issues/events{/number}","events_url":"https://api.github.com/repos/Zewo/Resource/events","assignees_url":"https://api.github.com/repos/Zewo/Resource/assignees{/user}","branches_url":"https://api.github.com/repos/Zewo/Resource/branches{/branch}","tags_url":"https://api.github.com/repos/Zewo/Resource/tags","blobs_url":"https://api.github.com/repos/Zewo/Resource/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Zewo/Resource/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Zewo/Resource/git/refs{/sha}","trees_url":"https://api.github.com/repos/Zewo/Resource/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Zewo/Resource/statuses/{sha}","languages_url":"https://api.github.com/repos/Zewo/Resource/languages","stargazers_url":"https://api.github.com/repos/Zewo/Resource/stargazers","contributors_url":"https://api.github.com/repos/Zewo/Resource/contributors","subscribers_url":"https://api.github.com/repos/Zewo/Resource/subscribers","subscription_url":"https://api.github.com/repos/Zewo/Resource/subscription","commits_url":"https://api.github.com/repos/Zewo/Resource/commits{/sha}","git_commits_url":"https://api.github.com/repos/Zewo/Resource/git/commits{/sha}","comments_url":"https://api.github.com/repos/Zewo/Resource/comments{/number}","issue_comment_url":"https://api.github.com/repos/Zewo/Resource/issues/comments{/number}","contents_url":"https://api.github.com/repos/Zewo/Resource/contents/{+path}","compare_url":"https://api.github.com/repos/Zewo/Resource/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Zewo/Resource/merges","archive_url":"https://api.github.com/repos/Zewo/Resource/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Zewo/Resource/downloads","issues_url":"https://api.github.com/repos/Zewo/Resource/issues{/number}","pulls_url":"https://api.github.com/repos/Zewo/Resource/pulls{/number}","milestones_url":"https://api.github.com/repos/Zewo/Resource/milestones{/number}","notifications_url":"https://api.github.com/repos/Zewo/Resource/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Zewo/Resource/labels{/name}","releases_url":"https://api.github.com/repos/Zewo/Resource/releases{/id}","deployments_url":"https://api.github.com/repos/Zewo/Resource/deployments","created_at":"2016-03-28T02:17:55Z","updated_at":"2016-04-13T23:50:03Z","pushed_at":"2016-05-04T03:51:59Z","git_url":"git://github.com/Zewo/Resource.git","ssh_url":"git@github.com:Zewo/Resource.git","clone_url":"https://github.com/Zewo/Resource.git","svn_url":"https://github.com/Zewo/Resource","homepage":"","size":14,"stargazers_count":3,"watchers_count":3,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"Zewo:master","ref":"master","sha":"b7978a9446da0c39717e36fefb4aff081c79a723","user":{"login":"Zewo","id":12739462,"avatar_url":"https://avatars.githubusercontent.com/u/12739462?v=3","gravatar_id":"","url":"https://api.github.com/users/Zewo","html_url":"https://github.com/Zewo","followers_url":"https://api.github.com/users/Zewo/followers","following_url":"https://api.github.com/users/Zewo/following{/other_user}","gists_url":"https://api.github.com/users/Zewo/gists{/gist_id}","starred_url":"https://api.github.com/users/Zewo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zewo/subscriptions","organizations_url":"https://api.github.com/users/Zewo/orgs","repos_url":"https://api.github.com/users/Zewo/repos","events_url":"https://api.github.com/users/Zewo/events{/privacy}","received_events_url":"https://api.github.com/users/Zewo/received_events","type":"Organization","site_admin":false},"repo":{"id":54859114,"name":"Resource","full_name":"Zewo/Resource","owner":{"login":"Zewo","id":12739462,"avatar_url":"https://avatars.githubusercontent.com/u/12739462?v=3","gravatar_id":"","url":"https://api.github.com/users/Zewo","html_url":"https://github.com/Zewo","followers_url":"https://api.github.com/users/Zewo/followers","following_url":"https://api.github.com/users/Zewo/following{/other_user}","gists_url":"https://api.github.com/users/Zewo/gists{/gist_id}","starred_url":"https://api.github.com/users/Zewo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zewo/subscriptions","organizations_url":"https://api.github.com/users/Zewo/orgs","repos_url":"https://api.github.com/users/Zewo/repos","events_url":"https://api.github.com/users/Zewo/events{/privacy}","received_events_url":"https://api.github.com/users/Zewo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Zewo/Resource","description":"RESTful resources for Zewo's Router","fork":false,"url":"https://api.github.com/repos/Zewo/Resource","forks_url":"https://api.github.com/repos/Zewo/Resource/forks","keys_url":"https://api.github.com/repos/Zewo/Resource/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Zewo/Resource/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Zewo/Resource/teams","hooks_url":"https://api.github.com/repos/Zewo/Resource/hooks","issue_events_url":"https://api.github.com/repos/Zewo/Resource/issues/events{/number}","events_url":"https://api.github.com/repos/Zewo/Resource/events","assignees_url":"https://api.github.com/repos/Zewo/Resource/assignees{/user}","branches_url":"https://api.github.com/repos/Zewo/Resource/branches{/branch}","tags_url":"https://api.github.com/repos/Zewo/Resource/tags","blobs_url":"https://api.github.com/repos/Zewo/Resource/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Zewo/Resource/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Zewo/Resource/git/refs{/sha}","trees_url":"https://api.github.com/repos/Zewo/Resource/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Zewo/Resource/statuses/{sha}","languages_url":"https://api.github.com/repos/Zewo/Resource/languages","stargazers_url":"https://api.github.com/repos/Zewo/Resource/stargazers","contributors_url":"https://api.github.com/repos/Zewo/Resource/contributors","subscribers_url":"https://api.github.com/repos/Zewo/Resource/subscribers","subscription_url":"https://api.github.com/repos/Zewo/Resource/subscription","commits_url":"https://api.github.com/repos/Zewo/Resource/commits{/sha}","git_commits_url":"https://api.github.com/repos/Zewo/Resource/git/commits{/sha}","comments_url":"https://api.github.com/repos/Zewo/Resource/comments{/number}","issue_comment_url":"https://api.github.com/repos/Zewo/Resource/issues/comments{/number}","contents_url":"https://api.github.com/repos/Zewo/Resource/contents/{+path}","compare_url":"https://api.github.com/repos/Zewo/Resource/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Zewo/Resource/merges","archive_url":"https://api.github.com/repos/Zewo/Resource/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Zewo/Resource/downloads","issues_url":"https://api.github.com/repos/Zewo/Resource/issues{/number}","pulls_url":"https://api.github.com/repos/Zewo/Resource/pulls{/number}","milestones_url":"https://api.github.com/repos/Zewo/Resource/milestones{/number}","notifications_url":"https://api.github.com/repos/Zewo/Resource/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Zewo/Resource/labels{/name}","releases_url":"https://api.github.com/repos/Zewo/Resource/releases{/id}","deployments_url":"https://api.github.com/repos/Zewo/Resource/deployments","created_at":"2016-03-28T02:17:55Z","updated_at":"2016-04-13T23:50:03Z","pushed_at":"2016-05-04T03:51:59Z","git_url":"git://github.com/Zewo/Resource.git","ssh_url":"git@github.com:Zewo/Resource.git","clone_url":"https://github.com/Zewo/Resource.git","svn_url":"https://github.com/Zewo/Resource","homepage":"","size":14,"stargazers_count":3,"watchers_count":3,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Zewo/Resource/pulls/1"},"html":{"href":"https://github.com/Zewo/Resource/pull/1"},"issue":{"href":"https://api.github.com/repos/Zewo/Resource/issues/1"},"comments":{"href":"https://api.github.com/repos/Zewo/Resource/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Zewo/Resource/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Zewo/Resource/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Zewo/Resource/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Zewo/Resource/statuses/03f662ed50aaedb2c3fcfa3d8885a7a73814e389"}}}}