Skip to content

Breaking change with 7.0.2 namespacing? #79

@StevePy

Description

@StevePy

Updating from 7.0.1 to 7.0.2 caused a breaking change with the namespacing for BuildMock(this IEnumerable[]). The BuildMock() method was no longer resolvable. I suspect that originally this class was using a default global namespace as in 7.0.1 I did not need a using statement to access the BuildMock extension method, but now I need a namespace using for MockQueryable.EntityFrameworkCore to access the BuildMock method, which I suspect may be a bug as Mocking IEnumerable shouldn't be limited to EFCore. (Issue introduced merging support for mocking DbSet?)

Ideally can this be fixed to avoid the need for adding a namespace requirement for the default BuildMock call? Otherwise caution needed when doing what appear to be revision releases n.0.x that contain breaking changes. Reverting to 7.0,1 for the time being.

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