feat(recommendations): refactor handler to use clean IVectorSearchStore abstraction and fix unit tests

This commit is contained in:
2026-06-06 11:28:14 +02:00
parent e9bb51af77
commit 94f6fe366d
11 changed files with 427 additions and 2 deletions
@@ -130,6 +130,7 @@ public static class DependencyInjection
services.AddScoped<IQuizResultRepository, QuizResultRepository>();
services.AddScoped<IConceptsMapReadRepository, ConceptsMapReadRepository>();
services.AddScoped<IUserLibraryStore, UserLibraryStore>();
services.AddScoped<IUserReadingStateStore, UserReadingStateStore>();
services.AddScoped<IVectorSearchStore, VectorSearchStore>();
// Fix #2: SignalR broadcaster (scoped, wraps IHubContext which is itself a singleton wrapper)