{"action":"opened","issue":{"url":"https://api.github.com/repos/Moya/Moya/issues/293","labels_url":"https://api.github.com/repos/Moya/Moya/issues/293/labels{/name}","comments_url":"https://api.github.com/repos/Moya/Moya/issues/293/comments","events_url":"https://api.github.com/repos/Moya/Moya/issues/293/events","html_url":"https://github.com/Moya/Moya/issues/293","id":116466902,"number":293,"title":"Change completion block type.","user":{"login":"petester42","id":296718,"avatar_url":"https://avatars.githubusercontent.com/u/296718?v=3","gravatar_id":"","url":"https://api.github.com/users/petester42","html_url":"https://github.com/petester42","followers_url":"https://api.github.com/users/petester42/followers","following_url":"https://api.github.com/users/petester42/following{/other_user}","gists_url":"https://api.github.com/users/petester42/gists{/gist_id}","starred_url":"https://api.github.com/users/petester42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petester42/subscriptions","organizations_url":"https://api.github.com/users/petester42/orgs","repos_url":"https://api.github.com/users/petester42/repos","events_url":"https://api.github.com/users/petester42/events{/privacy}","received_events_url":"https://api.github.com/users/petester42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-12T02:34:01Z","updated_at":"2015-11-12T02:34:01Z","closed_at":null,"body":"Since we are going to merge a breaking change with #289 I'd like to propose that we change the completion block type.\r\n\r\nFrom\r\n`public typealias Completion = (data: NSData?, statusCode: Int?, response: NSURLResponse?, error: ErrorType?) -> ()`\r\n\r\nTo\r\n`public typealias Completion = (response: MoyaResponse?, error: ErrorType?) -> ()`\r\n\r\nThis would allow people that do not use the reactive extensions to be able to use the helpful mapping functions and simplify the integrating with various json parsing libraries.\r\n\r\nWhat do people think?\r\n"}}