Remove the NuGetOperationType from NuGet.PackageManagement, use NuGetProjectActionType instead #12866
Labels
Category:BreakingChange
Functionality:SDK
The NuGet client packages published to nuget.org
Priority:2
Issues for the current backlog.
Type:DCR
Design Change Request
Milestone
While working conditional PR updating, I noticed myself doing a lot of duplicated work. See more details for motivation: https://github.com/NuGet/NuGet.Client/compare/dev-nkolev92-conditionalPackageReferenceUpdating?expand=1
For example, I had to do lots of conversions with NuGetProjectActionType and NuGetOperationType.
This is redundant, and makes our code more complicated.
I looked at the references and the only place where the NuGetOperationType is explicitly used is as an API is ActionTelemetryEvent, which is not used a lot.
Consolidating these types simplifies the NuGet code and makes future updates simpler.
The text was updated successfully, but these errors were encountered: