KnpLabs / KnpLabs/php-github-api

ResultPager fetchall on apps/installations incorrect result

未关闭
#597 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
PHP
星标
2.2k
派生
587
PR 合并指标
30 天内没有已合并 PR

描述

See https://platform.github.community/t/pagination-differs-in-installations-api/1862

The result is an array with a count field and and subarray of all installations but we merge result when using the fetchAll method

We need to check if this is something we need/can fix in code or if we should add some docs about this issue

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by tracing ResultPager's fetchAll handling for the apps/installations endpoint and compare it with the endpoint's documented array, count, and installations structure. Determine whether the client can return that structure correctly or whether the behavior needs documentation; done means resolving that choice and covering the resulting behavior or guidance.

由索引模型根据 Issue 内容生成。

评估

技术栈
github, php
领域
api
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。