Remove RestoreTargetGraph.Name as it's redundant withg restoreTargetGaph.TargetGraphName being the widely used version - #6773
#6773Merged
nkolev92 merged 1 commit intoSep 9, 2025
devNuGet/NuGet.Client:devfrom
dev-nkolev92-removeUnusedAPINuGet/NuGet.Client:dev-nkolev92-removeUnusedAPICopy head branch name to clipboard
Merged
Remove RestoreTargetGraph.Name as it's redundant withg restoreTargetGaph.TargetGraphName being the widely used version#6773nkolev92 merged 1 commit intodevNuGet/NuGet.Client:devfrom dev-nkolev92-removeUnusedAPINuGet/NuGet.Client:dev-nkolev92-removeUnusedAPICopy head branch name to clipboard
nkolev92 merged 1 commit into
devNuGet/NuGet.Client:devfrom
dev-nkolev92-removeUnusedAPINuGet/NuGet.Client:dev-nkolev92-removeUnusedAPICopy head branch name to clipboard
Conversation
…raph.TargetGraphName being the widely used version
nkolev92
force-pushed
the
dev-nkolev92-removeUnusedAPI
branch
from
September 9, 2025 20:05
015a828 to
f35cbcb
Compare
nkolev92
enabled auto-merge (squash)
September 9, 2025 20:05
jeffkl
approved these changes
Sep 9, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug
Fixes: NuGet/Home#14529
Description
With aliasing coming along soon, anything that generates an extra target graph name is a bit of tech debt because it's adding duplicate copies of the same code.
By removing this pretty much unused code, it just means when aliasing is implemented, the code switching between the impls will be simpler.
PR Checklist