Implement Actions API.#459
Conversation
src/GitHub/Data/Actions.hs
Outdated
There was a problem hiding this comment.
What are these? Is artifacts pagination different then for everything else?
There was a problem hiding this comment.
Yes, please check my comment above. At least I didn't find existing implementation for this pagination style.
|
Hi @andreasabel , I got back to this issue and hope to implement full support for |
|
Hi @K0Te, good to have you back on track!
I'll do my best. I am not really an expert on this package.
I suppose you are referring to this code: github/src/GitHub/Data/Request.hs Lines 155 to 164 in 01c1154 github/src/GitHub/Data/Request.hs Lines 174 to 181 in 01c1154 To keep API breakage at bay, I'd add it to |
|
I resolved the conflicts with |
|
Hi @andreasabel , This PR is finally ready for review! 🚀
|
|
@andreasabel reminding about this PR ^_^ |
Conflicts: .gitignore src/GitHub/Data/Options.hs
andreasabel
left a comment
There was a problem hiding this comment.
Thanks for the PR! and sorry for the delayed review.
I had some stylistic requests but fixed them myself.
What remains is to document the WithTotalCount type.
|
Candidate for 0.29 at: https://hackage.haskell.org/package/github-0.29/candidate |
andreasabel
left a comment
There was a problem hiding this comment.
Addressed the last bits.
Good to go!
|
Published at https://hackage.haskell.org/package/github-0.29 Big thanks, @K0Te ! |
Closes #458
Hi @phadej ,
I've implemented just ~5% of Actions API at the moment. I have many questions and need your guidance before proceeding further:
{ "artifacts": [ ... ], "total_count": 13676 }I see three ways of handling this:
Endpointsinstead ofData: