Carry portable schema identity on raw records

This commit is contained in:
Meta Vens 2026-08-18 02:08:49 +02:00
commit c5d9435deb
6 changed files with 40 additions and 4 deletions

View file

@ -224,6 +224,9 @@ namespace GameCult.Networking
Document = new CultNetRawDocumentRecord
{
SchemaId = binding.SchemaId,
SchemaName = descriptor.SchemaName,
SchemaVersion = descriptor.SchemaVersion,
SchemaContentHash = descriptor.ContentHash,
RecordKey = handle.Key.Value,
StoredAt = storedAt,
PayloadEncoding = "messagepack",
@ -292,6 +295,9 @@ namespace GameCult.Networking
documents.Add(new CultNetRawDocumentRecord
{
SchemaId = binding.SchemaId,
SchemaName = descriptor.SchemaName,
SchemaVersion = descriptor.SchemaVersion,
SchemaContentHash = descriptor.ContentHash,
RecordKey = key,
StoredAt = storedAt,
PayloadEncoding = "messagepack",