Skip to content

Conversation

@joeyh
Copy link
Contributor

@joeyh joeyh commented Feb 21, 2017

Closes #266

I kept the Maybe Auth parameter same as in github-0.14, though Auth
would simplify it slightly.

phadej
phadej previously requested changes Feb 22, 2017
Copy link
Contributor

@phadej phadej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small change request

-- > pullRequestsFor "rails" "rails"
pullRequestsFor' :: Maybe Auth -> Name Owner -> Name Repo -> IO (Either Error (Vector SimplePullRequest))
pullRequestsFor' (Just auth) user repo =
executeRequest auth $ pullRequestsForR user repo mempty FetchAll
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have executeRequestMaybe so no need to case

@joeyh
Copy link
Contributor Author

joeyh commented Feb 23, 2017 via email

Copy link
Contributor

@phadej phadej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@phadej phadej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@phadej phadej merged commit 1ee5dc9 into haskell-github:master Mar 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants