Collection responses have an extra empty map as the last element
cddr opened this issue · 2 comments
cddr commented
Is there a reason for responses returning a collection of github objects to include an empty element at the end or is that a bug?
(pulls/pulls "Raynes" "tentacles" {:auth "cddr:M24thbdinF"
:per-page 1})
=> [{:created_at "", :assignee nil.....} {}]
Would you accept a PR fixing it or would that be considered a breaking change?
Raynes commented
There are a lot of issues with the lazy-seq based pagination. Any pull requests to fix those would be much appreciated.
jjl commented
Hello,
I think I squashed this one in my clojars-published fork, please try it out: irresponsible/tentacles.
Raynes unfortunately passed away, but we will try and keep his legacy alive. A v0.6.0 has been uploaded to clojars as 'irresponsible/tentacles'.
Please find more details in this post:
https://groups.google.com/forum/#!topic/clojure/UJetyHj-BPE