KnpLabs / KnpLabs/php-github-api

ResultPager fetchall on apps/installations incorrect result

Abierto
#597 2 comentarios 0 reacciones 0 asignados Ver en GitHub
bug
Lenguaje dominante
PHP
Estrellas
2.2k
Forks
587
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
github, php
Área
api
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.