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 encountered such a visual studio warning(CS8613) after upgrading to 7.4.0:
the image above shows the error that the FindAsync method's signature is inconsistent between IReadOnlyBasicRepository and EfCoreRepository
Reproduction Steps
just update to abp vnext 7.4.0,then you will find this error, in case you defined some repositories which implement the IReposisotry<TEntity,TKey> and inherit the EfCoreRepository meanwhile.
Expected behavior
EfCoreRepository should fix the FindAsync method's signature,to satisfy the IReadOnlyBasicRepository
Actual behavior
as showed above
Regression?
No response
Known Workarounds
No response
Version
7.4.0
User Interface
Common (Default)
Database Provider
EF Core (Default)
Tiered or separate authentication server
None (Default)
Operation System
Windows (Default)
Other information
No response
The text was updated successfully, but these errors were encountered:
you will find this error, in case you defined some repositories which implement the IReposisotry<TEntity,TKey> and inherit the EfCoreRepository meanwhile.
1、upgrade abp cli to 7.4 with 'dotnet tool update -g volo.abp.cli' and then create a abp project with 'abp new Test -u mvc -t app'.
2、create a named 'Tests' folder in Domain layer,and create MyTest class and IMyTestRepository interface under the 'Tests' folder: public class MyTest : AuditedAggregateRoot<Guid> { } public interface IMyTestRepository : IRepository<MyTest, Guid> { }
3、create a named MyTestRepository under the 'Tests' folder in EntityFrameworkCore layer: public class MyTestRepository : EfCoreRepository<TestDbContext, MyTest, Guid>, IMyTestRepository { public MyTestRepository(IDbContextProvider<TestDbContext> dbContextProvider) : base(dbContextProvider) { } }
4、then you will get this warning(CS8613) :
Is there an existing issue for this?
Description
I encountered such a visual studio warning(CS8613) after upgrading to 7.4.0:
the image above shows the error that the FindAsync method's signature is inconsistent between IReadOnlyBasicRepository and EfCoreRepository
Reproduction Steps
just update to abp vnext 7.4.0,then you will find this error, in case you defined some repositories which implement the IReposisotry<TEntity,TKey> and inherit the EfCoreRepository meanwhile.
Expected behavior
EfCoreRepository should fix the FindAsync method's signature,to satisfy the IReadOnlyBasicRepository
Actual behavior
as showed above
Regression?
No response
Known Workarounds
No response
Version
7.4.0
User Interface
Common (Default)
Database Provider
EF Core (Default)
Tiered or separate authentication server
None (Default)
Operation System
Windows (Default)
Other information
No response
The text was updated successfully, but these errors were encountered: