You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would imagine a version bump in the package dependencies is all that's required to fix it.
System.MissingMethodException: Method not found: 'System.Type Microsoft.EntityFrameworkCore.Metadata.ITypeBase.get_ClrType()'.
at SmartEnum.EFCore.SmartEnumConverterExtensions.ConfigureSmartEnum(ModelBuilder modelBuilder)
at My.Namespace.Infrastructure.Data.MyDbContext.OnModelCreating(ModelBuilder modelBuilder)
The text was updated successfully, but these errors were encountered:
Hi, I am getting the same error when ConfigureSmartEnum method is executed in a project where I am using dotnet 6 with SmartEnum.EfCore
Please resolve this issue
It appears some API's were changed in EFCore v6 which means we now get a MissingMethodException when calling
ConfigureSmartEnum()
Specifically this commit seems to be the one that has the changes, dotnet/efcore@9a8c6c7#diff-c60aa50a5ed91b1d551a38d9499f85573f144b164f5adf192ef265a368c504f2
Looks like they swapped out some interface definitions for new ones,
ITypeBase
is nowIReadOnlyTypeBase
I would imagine a version bump in the package dependencies is all that's required to fix it.
The text was updated successfully, but these errors were encountered: