Skip to content

Useless Microsoft.EntityFrameworkCore.Relational dependency ? #145

Description

@nvierge

Hi,

I noticed that MockQueryable.EntityFrameworkCore currently references Microsoft.EntityFrameworkCore.Relational directly.

In my project, this creates dependency resolution conflicts when using newer EF Core versions. Since Microsoft.EntityFrameworkCore.Relational is usually brought transitively by the actual EF Core provider used by the consuming project, having it referenced directly here seems unnecessary.

I also checked locally, and the project still compiles successfully after removing this dependency.

Would you be open to removing the explicit Microsoft.EntityFrameworkCore.Relational package reference from MockQueryable.EntityFrameworkCore?

This would make the package easier to consume in projects using different or newer EF Core provider versions, while keeping the dependency surface smaller.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions