dotnet / dotnet/aspnetcore

UserStore should use IDbContextFactory<TContext> (instead of just TContext) if available

Open
#42,260 4 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.