github-tools / github-tools/github

[Feature Request] Allow page size option (per_page) in listPullRequestFiles call

未關閉
#408 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
3.8k
分支
809
PR 合併指標
30 天內沒有已合併 PR

描述

The listPullRequests call allows an optional second parameter for options that include setting the page size for for a request. GitHub allows `per_page` to also be sent along for the call wrapped by `listPullRequestFiles` but this library doesn't allow options to be passed.

I'm happy to submit a PR but want to know:
1. If you're cool with this
2. How you'd like me to add this functionality without breaking any existing uses of the library that rely on the second parameter being a callback. implement a `listPullRequestFilesWithOptions`?

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。