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
Updated command and query handlers to utilize `IApplicationDbContextFactory` for improved database context management. This change creates a new context instance for each operation, enhancing asynchronous operations and promoting better design practices. The use of `await using var db = await _dbContextFactory.CreateAsync(cancellationToken);` ensures that all database operations are performed with a fresh context, improving testability and reducing context-related issues.
0 commit comments