refactor(dotnet): remove aggregate collection repository contract
Validators (Pushes and Pull Requests) / validate-ui-and-storage (push) Successful in 17s
Validators (Pushes and Pull Requests) / validate-core (push) Failing after 1m38s

This commit is contained in:
2026-07-13 01:09:57 +09:00
parent ae32f86685
commit ca3b394ec2
9 changed files with 18 additions and 82 deletions
+1 -2
View File
@@ -108,7 +108,6 @@ try
builder.Services.AddScoped<IPostgresqlHistorySnapshotReader, PostgresqlHistorySnapshotReader>();
builder.Services.AddScoped<HistoryIngestionService>();
builder.Services.AddScoped<CollectionRepository>();
builder.Services.AddScoped<ICollectionRepository>(sp => sp.GetRequiredService<CollectionRepository>());
builder.Services.AddScoped<ICollectionReadRepository>(sp => sp.GetRequiredService<CollectionRepository>());
builder.Services.AddScoped<ICollectionWriteRepository>(sp => sp.GetRequiredService<CollectionRepository>());
builder.Services.AddSingleton<ICollectionSchemaInitializer, CollectionSchemaInitializer>();
@@ -151,7 +150,7 @@ try
{
var migrator = scope.ServiceProvider.GetRequiredService<DbMigrator>();
var workspaceRepo = scope.ServiceProvider.GetRequiredService<IWorkspaceRepository>();
var collectionRepo = scope.ServiceProvider.GetRequiredService<ICollectionRepository>();
var collectionRepo = scope.ServiceProvider.GetRequiredService<ICollectionReadRepository>();
var collectionSchemaInitializer = scope.ServiceProvider.GetRequiredService<ICollectionSchemaInitializer>();
var tokenCache = scope.ServiceProvider.GetRequiredService<ITokenCache>();