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

EFCore.BulkExtensions is a very heavy dependency #5158

Closed
Suchiman opened this issue Mar 29, 2024 · 1 comment · Fixed by #5160
Closed

EFCore.BulkExtensions is a very heavy dependency #5158

Suchiman opened this issue Mar 29, 2024 · 1 comment · Fixed by #5160

Comments

@Suchiman
Copy link
Contributor

Suchiman commented Mar 29, 2024

This is kinda orthogonal to #4854
#5005 added EFCore.BulkExtensions.MIT which is a very heavy dependency, most of the new dependencies are from it (all the db related packages).
image
Which aside from bloating the app with unused assemblies, also caused the following issue:

error CS0121: The call is ambiguous between the following methods or properties: 'Microsoft.EntityFrameworkCore.SqlServerPropertyExtensions.GetValueGenerationStrategy(Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty)' and 'Microsoft.EntityFrameworkCore.NpgsqlPropertyExtensions.GetValueGenerationStrategy(Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty)'
Copy link

glime-ai bot commented Mar 29, 2024

It seems like you are referring to a specific issue with the Elsa Workflows library related to the addition of the EFCore.BulkExtensions.MIT package, which has introduced a number of new dependencies, particularly database-related ones. This could potentially be an issue if the added dependencies are causing conflicts, increasing the size of deployments, or introducing unwanted transitive dependencies into your project.

To address this concern, you may want to engage with the maintainers of the Elsa Workflows project directly, typically through their GitHub issues page. You can open a new issue or comment on an existing one if it's related to your concern. Provide details about how the new dependencies are affecting your project and ask if there are plans to reduce the dependency footprint or if alternative solutions are being considered.

If you are looking for a way to manage dependencies more effectively in your project, you might consider options such as:

  • Using dependency management tools to exclude specific transitive dependencies.
  • Looking for alternative packages that have fewer dependencies.
  • Contributing to the project by suggesting or implementing improvements.

Remember to check the project's documentation and GitHub issues for any updates or discussions related to dependency management.

@Suchiman Suchiman changed the title EFCore.BulkExtensions is a vefry heavy dependency EFCore.BulkExtensions is a very heavy dependency Mar 29, 2024
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 a pull request may close this issue.

2 participants