Add support for EF Core 7.0 & Mapster 7.4.0
Geestarraw opened this issue · comments
Geestarraw commented
Please update the project to use EF Core 7.0 and Mapster 7.4.0-pre05. The latter has changes to it and requires the use of ITypeAdapterBuilder
instead of TypeAdapterBuilder
.
Currently the dependencies are for Mapster 4.1.1 and Ef Core 2.0.0 which are way old.
MrGeneralZod commented
I use Mapster.EFCore 5.1.1-pre02 and Mapster 7.4.0-pre06 and this code just doesn't work
model
.BuildAdapter()
.EntityFromContext(_dbContext)
.AdaptTo(entity);
Is the problem with ITypeAdapterBuilder
?