feat(replay): add ReplayHistoryReader for newest-first list query
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -119,6 +119,7 @@ public class Program
|
||||
|
||||
builder.Services.AddSingleton<IBattleContextStore, InMemoryBattleContextStore>();
|
||||
builder.Services.AddScoped<IBattleHistoryWriter, BattleHistoryWriter>();
|
||||
builder.Services.AddScoped<IReplayHistoryReader, ReplayHistoryReader>();
|
||||
|
||||
// Deck-code mint/resolve uses IMemoryCache for ephemeral (3-min TTL) storage; no DB
|
||||
// row, no migration. Singleton because the cache + RNG seam are process-wide.
|
||||
|
||||
Reference in New Issue
Block a user