KnpLabs / KnpLabs/php-github-api

ResultPager fetchall on apps/installations incorrect result

Ouverte
#597 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
PHP
Étoiles
2.2k
Forks
587
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
github, php
Domaine
api
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.