fix: reduce snapshot payloads via serializer group and hydration

This commit is contained in:
Björn Fromme
2026-03-24 17:06:10 +01:00
parent 3b6ee90a7e
commit 6f07678f04
15 changed files with 142 additions and 105 deletions
+2 -2
View File
@@ -62,8 +62,8 @@ class TravelSnapshot
#[ORM\Column(type: 'date_immutable', nullable: true)]
private ?\DateTimeImmutable $dateTo = null;
/** Full JSON-serialized Travel aggregate. */
#[ORM\Column(type: 'text')]
/** Full serialized Travel aggregate stored as JSON text. */
#[ORM\Column(type: 'text', columnDefinition: 'LONGTEXT NOT NULL')]
private string $payload;
/** SHA-256 of payload; compared before every write to skip no-op flushes. */