Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring the method that fetches the project context in the Solution PM UI #6065

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

jebriede
Copy link
Contributor

@jebriede jebriede commented Sep 27, 2024

Refactoring the method that fetches the project context in the Solution PM UI to return only a single package and simplify the caller logic

Bug

Fixes: NuGet/Home#13216

Description

Addressing feedback from the original pull request for the Transitive Packages in Solution PM UI feature: #6044 (comment). This is a better design to only return one package context object and simplifies the caller logic in determining if the package is top-level or transitive. Removed an outdated comment on the method, and renamed the method to more accurately reflect its purpose.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests - Refactoring existing method. No new functionality to test.
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

…on PM UI to return only a single package to simplify the caller logic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Enable Transitive Dependencies for Solution-level in Visual Studio
1 participant