thunderstore-io / Thunderstore

Thunderstore is a mod database and API for downloading mods. Thunderstore Discord: https://discord.thunderstore.io/
https://thunderstore.io/
GNU Affero General Public License v3.0
134 stars 27 forks source link

Cyberstorm API: limit the number of returned package dependencies #983

Closed anttimaki closed 9 months ago

anttimaki commented 10 months ago

To avoid slowdowns, PackageListingAPIView returns only up to four dependencies. To compensate, the number of total dependencies is returned in a separate field.

An endpoint for returning all the dependencies in a paginated manner will be added later.

Refs TS-2012

anttimaki commented 10 months ago

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

codecov[bot] commented 10 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (c3b00ba) 93.03% compared to head (0014b16) 93.03%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## use-autoschema-mixin #983 +/- ## ===================================================== Coverage 93.03% 93.03% ===================================================== Files 296 296 Lines 8642 8646 +4 Branches 770 770 ===================================================== + Hits 8040 8044 +4 Misses 498 498 Partials 104 104 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.