PowerShell / PSResourceGet

PSResourceGet is the package manager for PowerShell
https://www.powershellgallery.com/packages/Microsoft.PowerShell.PSResourceGet
MIT License
476 stars 90 forks source link

Refactor V2ServerAPICalls/NuGetServerAPICalls to use object-oriented query builder (instead of string manipulation) #1643

Closed sean-r-williams closed 2 months ago

sean-r-williams commented 2 months ago

Summary of the new feature / enhancement

Currently, V2ServerAPICalls and NuGetServerAPICalls build NuGet v2 API call URLs through direct manipulation of the query URL. This has several limitations:

Moving to an object-oriented approach would make these problems easier to avoid altogether.

Proposed technical implementation details (optional)

Refactor V2ServerAPICalls/NuGetServerAPICalls to: