UserStore should use IDbContextFactory<TContext> (instead of just TContext) if available
Open
area-identity
investigate
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 290
Description
`UserStore` just ignores the fact my app is using (Pooled)DbContextFactories.
I don't know if `UserStore` could auto-detect the presence of `IDbContextFactory` registration or if 2 similar classes would have to be maintained.
Such thing also should fix issues like https://github.com/dotnet/aspnetcore/issues/22031
Contributor guide
Assessment
This issue has not been assessed yet.