Skip to content

Conversation

@0xced
Copy link
Contributor

@0xced 0xced commented Nov 24, 2025

Before this pull request:

❌ Generated synchronous codes produces a compilation error

error CS0117: 'EntityFrameworkQueryableExtensions' does not contain a definition for […]

After this pull request:

✅ The synchronous methods are properly called on System.Linq.Queryable where they belong.

Fixes #107

Both in the unit tests and in the sandbox tests
Since there's no way to guess where the sync version of the `EntityFrameworkQueryableExtensions` methods is coming from, hardcode the source (i.e. `System.Linq.Queryable`) just like it was done for `AsyncEnumerable` →  `System.Linq.Enumerable`.
@0xced 0xced force-pushed the EntityFrameworkQueryableExtensions branch from 5fe7ea0 to 54a176f Compare November 24, 2025 10:26
@virzak virzak merged commit e6d6a1f into zompinc:master Nov 24, 2025
4 checks passed
@0xced 0xced deleted the EntityFrameworkQueryableExtensions branch November 24, 2025 15:32
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.

Failure to convert Async methods in EF Core extension methods on IQueryable (EntityFrameworkQueryableExtensions)

2 participants