NuGet Gallery is a package repository that powers https://www.nuget.org. Use this repo for reporting NuGet.org issues.
1.54k
stars
643
forks
source link
[Package Details] Eagerly load supported frameworks and deprecations. #9822
Closed
zhhyu closed 7 months ago
As the package details page loads the metadata of all package versions: https://github.com/NuGet/NuGetGallery/blob/e043791f59cc939c09df7802ae552dde5500039d/src/NuGetGallery/Helpers/ViewModelExtensions/DisplayPackageViewModelFactory.cs#L79-L87 it is better eagerly loading supported frameworks and deprecations of all versions together, rather than loading each version one by one.
Add another API rather than change the shape of existing ones, to avoid breaking other dependencies on
IPackageService
.