fix: reduce snapshot payloads via serializer group and hydration

This commit is contained in:
Björn Fromme committed 2026-03-24 17:06:10 +01:00
1 parent 3b6ee90a7e
commit 6f07678f04
15 files changed
+142 -105

No files matched your search

+3 -3
View File
@@ -32,16 +32,16 @@ class CrmSelectionGroup
90 => 'Transport',
];
#[Groups(['api:single'])]
#[Groups(['api:single', 'snapshot'])]
public ?int $id = null;
#[Groups(['api:single'])]
#[Groups(['api:single', 'snapshot'])]
public ?string $label = null;
/**
* @var array<int, CrmSelection>|null
*/
#[Groups(['api:single'])]
#[Groups(['api:single', 'snapshot'])]
public ?array $selections = null;
/**