Skip to content

Remove unused dependencies and code#920

Merged
albertospelta merged 4 commits intomainfrom
alberto/patch-cleanup
Mar 2, 2026
Merged

Remove unused dependencies and code#920
albertospelta merged 4 commits intomainfrom
alberto/patch-cleanup

Conversation

@albertospelta
Copy link
Member

This pull request removes the entire DynamicLinq extension from the src/Infrastructure/Extensions/DynamicLinq directory, including all related classes for dynamic expression parsing and class generation. Additionally, it updates the NuGet configuration to explicitly map package sources and cleans up unused assembly references in the project file.

Removal of DynamicLinq extension:

  • Deleted all files related to dynamic LINQ support, including ClassFactory, DynamicClass, DynamicExpression, DynamicOrdering, and DynamicProperty, effectively removing the ability to create and parse dynamic expressions and classes at runtime. [1] [2] [3] [4] [5]

Project and package management updates:

  • Updated nuget.config to add a packageSourceMapping section, ensuring all packages are explicitly mapped to the nuget.org source.
  • Removed direct assembly references to Antlr4.Runtime and TOMWrapper from Bravo.csproj, likely as part of cleaning up dependencies related to the deleted DynamicLinq code.

Deleted Antlr4.Runtime.dll and TOMWrapper.dll from the project and removed their references from Bravo.csproj to clean up unused dependencies.
The BPA functionality is not currently implemented, and the existing code was obsolete and unused. Keeping it in the repository added unnecessary complexity. The BPA feature will be reintroduced once the functionality is properly implemented and ready for integration.
Added launchBrowser, launchUrl, and applicationUrl to the Bravo profile in launchSettings.json to control browser launch behavior, set the default Swagger UI route, and specify the development server URL.
Explicitly set NuGet.org as the sole package source and add
packageSourceMapping to ensure all packages are restored from
NuGet.org, improving source control and clarity.
@albertospelta albertospelta merged commit 5e0104a into main Mar 2, 2026
1 check passed
@albertospelta albertospelta deleted the alberto/patch-cleanup branch March 2, 2026 13:11
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.

1 participant