Page MenuHomeSoftware Heritage

Add support to return simple lists without pagination
ClosedPublic

Authored by jayeshv on Dec 23 2022, 4:35 PM.

Details

Summary

Some connections do not require pagination support
eg: ResolveSWHID, that returns a list but is alwasys too small
for any real pagination. Add a BaseList class to support such items.

Diff Detail

Repository
rDGQL GraphQL API
Branch
simple-connection
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 33343
Build 52267: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 52266: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D8980 (id=32357)

Rebasing onto 5446d4f87f...

Current branch diff-target is up to date.
Changes applied before test
commit a9191369f8952b7fe329f37dfa8ea2b0a891a1f4
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Dec 23 16:28:10 2022 +0100

    Add support to return simple lists without pagination
    
    Some connections do not require pagination support
    eg: ResolveSWHID, that returns a list but is alwasys too small
    for any real pagination. Add a BaseList class to support such items.

See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/266/ for more details.

Build is green

Patch application report for D8980 (id=32358)

Rebasing onto 5446d4f87f...

Current branch diff-target is up to date.
Changes applied before test
commit 419b8413668240d95da96a0e25e234b612d1890f
Author: Jayesh Velayudhan <jayesh@softwareheritage.org>
Date:   Fri Dec 23 16:28:10 2022 +0100

    Add support to return simple lists without pagination
    
    Some connections do not require pagination support
    eg: ResolveSWHID, that returns a list but is alwasys too small
    for any real pagination. Add a BaseList class to support such items.

See https://jenkins.softwareheritage.org/job/DGQL/job/tests-on-diff/267/ for more details.

This revision was not accepted when it landed; it landed in state Needs Review.Dec 23 2022, 6:13 PM
This revision was automatically updated to reflect the committed changes.