Implement Review Preview API - #860
Conversation
5e58141 to
a3bf9cf
Compare
2 similar comments
a3bf9cf to
554a532
Compare
554a532 to
60ff975
Compare
60ff975 to
a43563c
Compare
a43563c to
17f402a
Compare
17f402a to
654bd22
Compare
654bd22 to
c519594
Compare
c519594 to
756947f
Compare
3 similar comments
756947f to
29b9743
Compare
|
I think this is ready for review, could someone take a look? |
2 similar comments
2ea870d to
73f5e99
Compare
2 similar comments
3 similar comments
3 similar comments
f5a2506 to
9f177c8
Compare
|
Anyone for a round 2? 😄 |
|
I can take another look, @soudy. If I might ask a favor though, would you mind not force pushing onto the branch anymore for this PR? For someone who needs to review the work it's hard to keep track of what I'm reading when the code keeps constantly changing on "the same commit". Please and thank you ✨ |
|
Ah sorry @tarebyte, will do. I do try to keep them organized but you're right about the changing. |
tarebyte
left a comment
There was a problem hiding this comment.
Looking good! I think we're almost there.
| # Get a single review | ||
| # | ||
| # @param repo [Integer, String, Hash, Repository] A GitHub repository | ||
| # @param pull_id [Integer] The id of the pull request |
There was a problem hiding this comment.
Can we update all of the uses of pull_id to use number instead. It makes it consistent with the rest of the API methods.
| # | ||
| # @param repo [Integer, String, Hash, Repository] A GitHub repository | ||
| # @param pull_id [Integer] The id of the pull request | ||
| # @param review_id [Integer] The id of the review |
There was a problem hiding this comment.
Could we also update all uses of review_id to be review. This makes it more consistent with the rest of the library.
|
Hi @soudy .. Any idea when this PR will be merged ? |
|
@pulusanidamini I just implemented @tarebyte's last feedback, should be good to go now I think. 😄 |
|
Thanks for working on this @soudy 💖 |
|
Upon further investigation, the PR I was testing with was merged and the requested review had been completed. Perhaps some documentation about what states the requests must be in to be returned in the API would be helpful? |


This PR implements the new reviews API https://developer.github.com/v3/pulls/reviews/.