sourcegraph/sourcegraph-public-snapshot

insights: dashboards PageInfo incorrectly reports there are additional pages

Open

#34,992 opened on May 5, 2022

 (1 comment) (0 reactions) (0 assignees)Go (1,374 forks)auto 404
backendbugcode-insightsgood first issuereliability

Repository metrics

Stars
 (10,290 stars)
PR merge metrics
 (PR metrics pending)

Description

When any of the arguments first, after or ID are passed to InsightsDashboardConnection the pageInfo returned will always indicate that there is an additional page. This is not always correct.

see InsightViewQueryConnectionResolver for working approach

Contributor guide