Open Issues Need Help
View All on GitHub Mapster.EFCore ProjectToType<T>().FirstOrDefaultAsync throwing exception about 4 hours ago
AI Summary: The user reports a `System.MissingMethodException` when attempting to use `Mapster.EFCore`'s `ProjectToType<T>()` with `IMapper` and `FirstOrDefaultAsync()`. While `FirstOrDefaultAsync()` works without `IMapper`, and `FirstOrDefault()` works with `IMapper`, the combination of `IMapper` and the asynchronous `FirstOrDefaultAsync()` fails, indicating a missing constructor for an internal `MapsterAsyncEnumerable` type.
Complexity:
4/5
bug good first issue
A fast, fun and stimulating object to object Mapper
C#
#c-sharp#codegenerator#fast#mapper#mapping