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
Assume that I wanted to unify IIdentityDbContext and IIdentityServerDbContext into IdentityServiceDbContext and also want to override the EfCoreIdentityUserRepository ().
When I inject IIdentityUserRepository, I get the MyIdentityUserRepository, no problem. But, if I inject IRepository<IdentityUser, Guid>, currently I get EfCoreIdentityUserRepository. With this enhancement, I will get MyIdentityUserRepositor even in this usage.
This is very advanced scenario and most of the people will not be interested in :)
The text was updated successfully, but these errors were encountered:
Assume that I wanted to unify IIdentityDbContext and IIdentityServerDbContext into IdentityServiceDbContext and also want to override the EfCoreIdentityUserRepository ().
Configuration:
Overriden repository:
When I inject
IIdentityUserRepository
, I get theMyIdentityUserRepository
, no problem. But, if I injectIRepository<IdentityUser, Guid>
, currently I getEfCoreIdentityUserRepository
. With this enhancement, I will getMyIdentityUserRepositor
even in this usage.This is very advanced scenario and most of the people will not be interested in :)
The text was updated successfully, but these errors were encountered: