Interop: the override edit opens its cache with a codec

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-03 10:58:06 +02:00
commit 211ee3dbaa

View file

@ -142,7 +142,7 @@ static async Task EditInPlaceAsync(string file, string kind)
}
case "override":
{
var cache = BuildCache(file);
var cache = CultCacheMessagePack.Create(file, new CultCacheOpenOptions { Registry = CultDocumentRegistry.ForTypes(new[] { typeof(CultCacheInteropNote) }) });
await cache.PullAllBackingStoresAsync();
var note = cache.AllEntries.OfType<CultCacheInteropNote>().Single();
await cache.UpsertVariantAsync(