nerdishbynature / octokit.swift

A Swift API Client for GitHub and GitHub Enterprise
MIT License
490 stars 126 forks source link

Allow GitHub API calls to be discarded #70

Closed orta closed 5 years ago

orta commented 5 years ago

👋

Looking good so far. 👍

Mainly so that we don't have to do things like this in Dangerfiles for danger-swift:

_ = danger.github.api.me { response in
    switch response {
    case .success(let user):
        message(user.name ?? "")
    case .failure:
        break
    }
}
f-meloni commented 5 years ago

LGTM

pietbrauer commented 5 years ago

Thanks a lot!