{"action":"created","comment":{"url":"https://api.github.com/repos/arrow-kt/arrow/pulls/comments/224017886","pull_request_review_id":163282212,"id":224017886,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDAxNzg4Ng==","diff_hunk":"@@ -0,0 +1,38 @@\n+package arrow.integrations.retrofit.adapter\n+\n+import arrow.effects.IO\n+import retrofit2.CallAdapter\n+import retrofit2.Retrofit\n+import java.lang.reflect.ParameterizedType\n+import java.lang.reflect.Type\n+\n+class Async2CallAdapterFactory : CallAdapter.Factory() {\n+\n+  companion object {\n+    fun create() = Async2CallAdapterFactory()","path":"modules/integrations/arrow-integrations-retrofit-adapter/src/main/kotlin/arrow.integrations.retrofit.adapter/Async2CallAdapterFactory.kt","position":12,"original_position":12,"commit_id":"b8330c483d8654746877c3c63f74402bc0c58f33","original_commit_id":"b8330c483d8654746877c3c63f74402bc0c58f33","user":{"login":"raulraja","id":456796,"node_id":"MDQ6VXNlcjQ1Njc5Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/456796?v=4","gravatar_id":"","url":"https://api.github.com/users/raulraja","html_url":"https://github.com/raulraja","followers_url":"https://api.github.com/users/raulraja/followers","following_url":"https://api.github.com/users/raulraja/following{/other_user}","gists_url":"https://api.github.com/users/raulraja/gists{/gist_id}","starred_url":"https://api.github.com/users/raulraja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raulraja/subscriptions","organizations_url":"https://api.github.com/users/raulraja/orgs","repos_url":"https://api.github.com/users/raulraja/repos","events_url":"https://api.github.com/users/raulraja/events{/privacy}","received_events_url":"https://api.github.com/users/raulraja/received_events","type":"User","site_admin":false},"body":"All return types in Arrow are always fully typed and we don't rely on inference.","created_at":"2018-10-10T10:17:00Z","updated_at":"2018-10-10T10:28:59Z","html_url":"https://github.com/arrow-kt/arrow/pull/1037#discussion_r224017886","pull_request_url":"https://api.github.com/repos/arrow-kt/arrow/pulls/1037","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/arrow-kt/arrow/pulls/comments/224017886"},"html":{"href":"https://github.com/arrow-kt/arrow/pull/1037#discussion_r224017886"},"pull_request":{"href":"https://api.github.com/repos/arrow-kt/arrow/pulls/1037"}}},"pull_request":{"url":"https://api.github.com/repos/arrow-kt/arrow/pulls/1037","id":221616525,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxNjE2NTI1","html_url":"https://github.com/arrow-kt/arrow/pull/1037","diff_url":"https://github.com/arrow-kt/arrow/pull/1037.diff","patch_url":"https://github.com/arrow-kt/arrow/pull/1037.patch","issue_url":"https://api.github.com/repos/arrow-kt/arrow/issues/1037","number":1037,"state":"open","locked":false,"title":"Adding integration for Retrofit","user":{"login":"leandroBorgesFerreira","id":10619102,"node_id":"MDQ6VXNlcjEwNjE5MTAy","avatar_url":"https://avatars0.githubusercontent.com/u/10619102?v=4","gravatar_id":"","url":"https://api.github.com/users/leandroBorgesFerreira","html_url":"https://github.com/leandroBorgesFerreira","followers_url":"https://api.github.com/users/leandroBorgesFerreira/followers","following_url":"https://api.github.com/users/leandroBorgesFerreira/following{/other_user}","gists_url":"https://api.github.com/users/leandroBorgesFerreira/gists{/gist_id}","starred_url":"https://api.github.com/users/leandroBorgesFerreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leandroBorgesFerreira/subscriptions","organizations_url":"https://api.github.com/users/leandroBorgesFerreira/orgs","repos_url":"https://api.github.com/users/leandroBorgesFerreira/repos","events_url":"https://api.github.com/users/leandroBorgesFerreira/events{/privacy}","received_events_url":"https://api.github.com/users/leandroBorgesFerreira/received_events","type":"User","site_admin":false},"body":"This PR is a adapter for Arrow's Async classes. \r\n\r\nExample of use:\r\n\r\n```\r\ninterface ApiClientTest {\r\n  @GET(\"test\")\r\n  fun test(): CallK<ResponseMock>\r\n\r\n  @GET(\"testIO\")\r\n  fun testIO(): IO<ResponseMock>\r\n}\r\n```\r\n\r\nUsing this plugin, it will be possible to set IO as a return type for a endpoint. It will be also possible the set CallK to create polymorphic return types that can be concretised in a latter moment.","created_at":"2018-10-09T23:27:41Z","updated_at":"2018-10-10T10:28:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b1f38e2a3608f596ce496706be04a90cf7748739","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/arrow-kt/arrow/pulls/1037/commits","review_comments_url":"https://api.github.com/repos/arrow-kt/arrow/pulls/1037/comments","review_comment_url":"https://api.github.com/repos/arrow-kt/arrow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/arrow-kt/arrow/issues/1037/comments","statuses_url":"https://api.github.com/repos/arrow-kt/arrow/statuses/b8330c483d8654746877c3c63f74402bc0c58f33","head":{"label":"leandroBorgesFerreira:master","ref":"master","sha":"b8330c483d8654746877c3c63f74402bc0c58f33","user":{"login":"leandroBorgesFerreira","id":10619102,"node_id":"MDQ6VXNlcjEwNjE5MTAy","avatar_url":"https://avatars0.githubusercontent.com/u/10619102?v=4","gravatar_id":"","url":"https://api.github.com/users/leandroBorgesFerreira","html_url":"https://github.com/leandroBorgesFerreira","followers_url":"https://api.github.com/users/leandroBorgesFerreira/followers","following_url":"https://api.github.com/users/leandroBorgesFerreira/following{/other_user}","gists_url":"https://api.github.com/users/leandroBorgesFerreira/gists{/gist_id}","starred_url":"https://api.github.com/users/leandroBorgesFerreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leandroBorgesFerreira/subscriptions","organizations_url":"https://api.github.com/users/leandroBorgesFerreira/orgs","repos_url":"https://api.github.com/users/leandroBorgesFerreira/repos","events_url":"https://api.github.com/users/leandroBorgesFerreira/events{/privacy}","received_events_url":"https://api.github.com/users/leandroBorgesFerreira/received_events","type":"User","site_admin":false},"repo":{"id":152143829,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIxNDM4Mjk=","name":"arrow","full_name":"leandroBorgesFerreira/arrow","private":false,"owner":{"login":"leandroBorgesFerreira","id":10619102,"node_id":"MDQ6VXNlcjEwNjE5MTAy","avatar_url":"https://avatars0.githubusercontent.com/u/10619102?v=4","gravatar_id":"","url":"https://api.github.com/users/leandroBorgesFerreira","html_url":"https://github.com/leandroBorgesFerreira","followers_url":"https://api.github.com/users/leandroBorgesFerreira/followers","following_url":"https://api.github.com/users/leandroBorgesFerreira/following{/other_user}","gists_url":"https://api.github.com/users/leandroBorgesFerreira/gists{/gist_id}","starred_url":"https://api.github.com/users/leandroBorgesFerreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leandroBorgesFerreira/subscriptions","organizations_url":"https://api.github.com/users/leandroBorgesFerreira/orgs","repos_url":"https://api.github.com/users/leandroBorgesFerreira/repos","events_url":"https://api.github.com/users/leandroBorgesFerreira/events{/privacy}","received_events_url":"https://api.github.com/users/leandroBorgesFerreira/received_events","type":"User","site_admin":false},"html_url":"https://github.com/leandroBorgesFerreira/arrow","description":"Functional companion to Kotlin's Standard Library","fork":true,"url":"https://api.github.com/repos/leandroBorgesFerreira/arrow","forks_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/forks","keys_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/teams","hooks_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/hooks","issue_events_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/issues/events{/number}","events_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/events","assignees_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/assignees{/user}","branches_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/branches{/branch}","tags_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/tags","blobs_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/git/refs{/sha}","trees_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/statuses/{sha}","languages_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/languages","stargazers_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/stargazers","contributors_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/contributors","subscribers_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/subscribers","subscription_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/subscription","commits_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/commits{/sha}","git_commits_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/git/commits{/sha}","comments_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/comments{/number}","issue_comment_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/issues/comments{/number}","contents_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/contents/{+path}","compare_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/merges","archive_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/downloads","issues_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/issues{/number}","pulls_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/pulls{/number}","milestones_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/milestones{/number}","notifications_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/labels{/name}","releases_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/releases{/id}","deployments_url":"https://api.github.com/repos/leandroBorgesFerreira/arrow/deployments","created_at":"2018-10-08T20:40:50Z","updated_at":"2018-10-09T23:24:33Z","pushed_at":"2018-10-09T23:24:31Z","git_url":"git://github.com/leandroBorgesFerreira/arrow.git","ssh_url":"git@github.com:leandroBorgesFerreira/arrow.git","clone_url":"https://github.com/leandroBorgesFerreira/arrow.git","svn_url":"https://github.com/leandroBorgesFerreira/arrow","homepage":"http://arrow-kt.io","size":8916,"stargazers_count":0,"watchers_count":0,"language":"Kotlin","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"arrow-kt:master","ref":"master","sha":"ad6ae8bcd61620a5459c1fc8bfdfcba4a3b79c63","user":{"login":"arrow-kt","id":29458023,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NDU4MDIz","avatar_url":"https://avatars1.githubusercontent.com/u/29458023?v=4","gravatar_id":"","url":"https://api.github.com/users/arrow-kt","html_url":"https://github.com/arrow-kt","followers_url":"https://api.github.com/users/arrow-kt/followers","following_url":"https://api.github.com/users/arrow-kt/following{/other_user}","gists_url":"https://api.github.com/users/arrow-kt/gists{/gist_id}","starred_url":"https://api.github.com/users/arrow-kt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arrow-kt/subscriptions","organizations_url":"https://api.github.com/users/arrow-kt/orgs","repos_url":"https://api.github.com/users/arrow-kt/repos","events_url":"https://api.github.com/users/arrow-kt/events{/privacy}","received_events_url":"https://api.github.com/users/arrow-kt/received_events","type":"Organization","site_admin":false},"repo":{"id":86057409,"node_id":"MDEwOlJlcG9zaXRvcnk4NjA1NzQwOQ==","name":"arrow","full_name":"arrow-kt/arrow","private":false,"owner":{"login":"arrow-kt","id":29458023,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NDU4MDIz","avatar_url":"https://avatars1.githubusercontent.com/u/29458023?v=4","gravatar_id":"","url":"https://api.github.com/users/arrow-kt","html_url":"https://github.com/arrow-kt","followers_url":"https://api.github.com/users/arrow-kt/followers","following_url":"https://api.github.com/users/arrow-kt/following{/other_user}","gists_url":"https://api.github.com/users/arrow-kt/gists{/gist_id}","starred_url":"https://api.github.com/users/arrow-kt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arrow-kt/subscriptions","organizations_url":"https://api.github.com/users/arrow-kt/orgs","repos_url":"https://api.github.com/users/arrow-kt/repos","events_url":"https://api.github.com/users/arrow-kt/events{/privacy}","received_events_url":"https://api.github.com/users/arrow-kt/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/arrow-kt/arrow","description":"Functional companion to Kotlin's Standard Library","fork":false,"url":"https://api.github.com/repos/arrow-kt/arrow","forks_url":"https://api.github.com/repos/arrow-kt/arrow/forks","keys_url":"https://api.github.com/repos/arrow-kt/arrow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arrow-kt/arrow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arrow-kt/arrow/teams","hooks_url":"https://api.github.com/repos/arrow-kt/arrow/hooks","issue_events_url":"https://api.github.com/repos/arrow-kt/arrow/issues/events{/number}","events_url":"https://api.github.com/repos/arrow-kt/arrow/events","assignees_url":"https://api.github.com/repos/arrow-kt/arrow/assignees{/user}","branches_url":"https://api.github.com/repos/arrow-kt/arrow/branches{/branch}","tags_url":"https://api.github.com/repos/arrow-kt/arrow/tags","blobs_url":"https://api.github.com/repos/arrow-kt/arrow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arrow-kt/arrow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arrow-kt/arrow/git/refs{/sha}","trees_url":"https://api.github.com/repos/arrow-kt/arrow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arrow-kt/arrow/statuses/{sha}","languages_url":"https://api.github.com/repos/arrow-kt/arrow/languages","stargazers_url":"https://api.github.com/repos/arrow-kt/arrow/stargazers","contributors_url":"https://api.github.com/repos/arrow-kt/arrow/contributors","subscribers_url":"https://api.github.com/repos/arrow-kt/arrow/subscribers","subscription_url":"https://api.github.com/repos/arrow-kt/arrow/subscription","commits_url":"https://api.github.com/repos/arrow-kt/arrow/commits{/sha}","git_commits_url":"https://api.github.com/repos/arrow-kt/arrow/git/commits{/sha}","comments_url":"https://api.github.com/repos/arrow-kt/arrow/comments{/number}","issue_comment_url":"https://api.github.com/repos/arrow-kt/arrow/issues/comments{/number}","contents_url":"https://api.github.com/repos/arrow-kt/arrow/contents/{+path}","compare_url":"https://api.github.com/repos/arrow-kt/arrow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arrow-kt/arrow/merges","archive_url":"https://api.github.com/repos/arrow-kt/arrow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arrow-kt/arrow/downloads","issues_url":"https://api.github.com/repos/arrow-kt/arrow/issues{/number}","pulls_url":"https://api.github.com/repos/arrow-kt/arrow/pulls{/number}","milestones_url":"https://api.github.com/repos/arrow-kt/arrow/milestones{/number}","notifications_url":"https://api.github.com/repos/arrow-kt/arrow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arrow-kt/arrow/labels{/name}","releases_url":"https://api.github.com/repos/arrow-kt/arrow/releases{/id}","deployments_url":"https://api.github.com/repos/arrow-kt/arrow/deployments","created_at":"2017-03-24T10:43:11Z","updated_at":"2018-10-09T22:22:38Z","pushed_at":"2018-10-09T23:27:42Z","git_url":"git://github.com/arrow-kt/arrow.git","ssh_url":"git@github.com:arrow-kt/arrow.git","clone_url":"https://github.com/arrow-kt/arrow.git","svn_url":"https://github.com/arrow-kt/arrow","homepage":"http://arrow-kt.io","size":8962,"stargazers_count":1911,"watchers_count":1911,"language":"Kotlin","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":150,"mirror_url":null,"archived":false,"open_issues_count":162,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":150,"open_issues":162,"watchers":1911,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/arrow-kt/arrow/pulls/1037"},"html":{"href":"https://github.com/arrow-kt/arrow/pull/1037"},"issue":{"href":"https://api.github.com/repos/arrow-kt/arrow/issues/1037"},"comments":{"href":"https://api.github.com/repos/arrow-kt/arrow/issues/1037/comments"},"review_comments":{"href":"https://api.github.com/repos/arrow-kt/arrow/pulls/1037/comments"},"review_comment":{"href":"https://api.github.com/repos/arrow-kt/arrow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/arrow-kt/arrow/pulls/1037/commits"},"statuses":{"href":"https://api.github.com/repos/arrow-kt/arrow/statuses/b8330c483d8654746877c3c63f74402bc0c58f33"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"raulraja"}}