Skip to content

Use the model and capabilities to hydrate metadata and make better use of model - #6340

Merged
jebriede merged 4 commits into
dev-feature-PackageDomainModelfrom
dev-jebriede-HydrateModels
Mar 22, 2025
Merged

jebriede merged 4 commits into
dev-feature-PackageDomainModelfrom
dev-jebriede-HydrateModels

Conversation

@jebriede

@jebriede jebriede commented Mar 22, 2025 •

Copy link
Copy Markdown
Contributor

Bug

Fixes:

Description

Makes use of the package model and its capabilities to hydrate the vulnerabilities and deprecation data from metadata.
It also makes better use of the model in the ViewModel, filling in properties that were not plumbed through yet.
In addition, some fixes were made to get the code to run successfully, namely fixing the tooltip binding mode for the Package ID. The Tooltip in XAML seems to default to wanting to write to the source property so we set it to OneTime binding mode so it does not attempt to write to the readonly property.

PR Checklist

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

@jebriede
jebriede requested a review from a team as a code owner March 22, 2025 03:05
@jebriede
jebriede merged commit 7820cfc into dev-feature-PackageDomainModel Mar 22, 2025
@jebriede
jebriede deleted the dev-jebriede-HydrateModels branch March 22, 2025 06:51
jebriede added a commit that referenced this pull request Mar 24, 2025
jebriede added a commit that referenced this pull request Apr 16, 2025
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.

2 participants