namespace Mr.BrickAdventures.Progression.Adapters; /// /// What actually goes in a save file: a version alongside the snapshot. /// /// /// The version lives here rather than in the snapshot record so the domain only ever knows the /// current shape. Migration is entirely this layer's problem. /// internal sealed record SaveEnvelope(int Version, T Data);