{"action":"created","issue":{"url":"https://api.github.com/repos/Alamofire/Alamofire/issues/638","labels_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/638/labels{/name}","comments_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/638/comments","events_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/638/events","html_url":"https://github.com/Alamofire/Alamofire/pull/638","id":98608076,"number":638,"title":"Result enum conform to BooleanType protocol","user":{"login":"jankase","id":4003320,"avatar_url":"https://avatars.githubusercontent.com/u/4003320?v=3","gravatar_id":"","url":"https://api.github.com/users/jankase","html_url":"https://github.com/jankase","followers_url":"https://api.github.com/users/jankase/followers","following_url":"https://api.github.com/users/jankase/following{/other_user}","gists_url":"https://api.github.com/users/jankase/gists{/gist_id}","starred_url":"https://api.github.com/users/jankase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jankase/subscriptions","organizations_url":"https://api.github.com/users/jankase/orgs","repos_url":"https://api.github.com/users/jankase/repos","events_url":"https://api.github.com/users/jankase/events{/privacy}","received_events_url":"https://api.github.com/users/jankase/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Alamofire/Alamofire/labels/needs%20feedback","name":"needs feedback","color":"9559F0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-02T13:01:49Z","updated_at":"2015-08-04T15:35:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Alamofire/Alamofire/pulls/638","html_url":"https://github.com/Alamofire/Alamofire/pull/638","diff_url":"https://github.com/Alamofire/Alamofire/pull/638.diff","patch_url":"https://github.com/Alamofire/Alamofire/pull/638.patch"},"body":"I think using BooleanType is more Swift-like approach."},"comment":{"url":"https://api.github.com/repos/Alamofire/Alamofire/issues/comments/127652283","html_url":"https://github.com/Alamofire/Alamofire/pull/638#issuecomment-127652283","issue_url":"https://api.github.com/repos/Alamofire/Alamofire/issues/638","id":127652283,"user":{"login":"kylef","id":44164,"avatar_url":"https://avatars.githubusercontent.com/u/44164?v=3","gravatar_id":"","url":"https://api.github.com/users/kylef","html_url":"https://github.com/kylef","followers_url":"https://api.github.com/users/kylef/followers","following_url":"https://api.github.com/users/kylef/following{/other_user}","gists_url":"https://api.github.com/users/kylef/gists{/gist_id}","starred_url":"https://api.github.com/users/kylef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kylef/subscriptions","organizations_url":"https://api.github.com/users/kylef/orgs","repos_url":"https://api.github.com/users/kylef/repos","events_url":"https://api.github.com/users/kylef/events{/privacy}","received_events_url":"https://api.github.com/users/kylef/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T15:35:23Z","updated_at":"2015-08-04T15:35:23Z","body":"I think I agree with @cnoon on this.\r\n\r\nApple discourage conforming to BooleanType when you're representing more than a simple boolean value, take a look at the [BooleanType protocol documentation](https://developer.apple.com/library/prerelease/ios/documentation/Swift/Reference/Swift_BooleanType_Protocol/).\r\n\r\n> Only two types provided by Swift, Bool and ObjCBool, conform to BooleanType. Expanding this set to include types that represent more than simple boolean values is discouraged."}}