Skip to content

[ApiDiff] Update symbol filtering code to be able to load a list of strings or a list of files #46255

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

Merged
merged 12 commits into from
Jan 29, 2025

Conversation

carlossanlop
Copy link
Member

This PR is part of the work needed to create an ApiDiff tool that reuses some of the code from Microsoft.DotNet.GenAPI. The idea is to make the larger PR smaller and make it easier to review: #45389

This change adds the ability to load DocIDs for consumption in API or Attribute symbol filtering and simplifies the code. It also updates the locations where this was being used.

This code will be reused by ApiDiff in a very similar way as in GenAPI, and the methods that generate filters from files or from lists needed to be clearly separated.

Please review ignoring whitespace as VS Code keeps insisting on removing it automatically in files I modify.

@carlossanlop carlossanlop self-assigned this Jan 24, 2025
@carlossanlop carlossanlop requested a review from a team as a code owner January 24, 2025 00:44
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-ApiCompat untriaged Request triage from a team member labels Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-ApiCompat untriaged Request triage from a team member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants