Skip to content

Commit 5b71104

Browse files
cojiclaude
andcommitted
refactor: fetcher のページネーションを paginateGraphQL ヘルパーに統一 (#266)
6箇所のページネーションループを共通ヘルパーに統合。 pullrequestsWithDetails の PR 基本フィールド変換を shapePullRequestNode に統一。 - paginateGraphQL<TResult, TNode, TItem>: カーソルベースページネーション共通ヘルパー - handleGraphQLError 付きパターン(minPageSize 指定時) - シンプルパターン(minPageSize なし) - shouldStop による早期打ち切り - pullrequests, pullrequestList, commits, reviews, tags を paginateGraphQL で書き直し - pullrequestsWithDetails 内の PR 変換を shapePullRequestNode に統一 - codegen 由来の型(CommitNode, ReviewNode 等)でノード型を導出 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9ba26b2 commit 5b71104

1 file changed

Lines changed: 287 additions & 441 deletions

File tree

0 commit comments

Comments
 (0)