Fixed: re-introduce creator in async doc generation

This commit is contained in:
2023-03-15 13:38:19 +01:00
parent d1bdf41c4c
commit 44ecad2bca
10 changed files with 47 additions and 15 deletions

View File

@@ -156,7 +156,7 @@ final class CalendarContext implements CalendarContextInterface
$options = $this->getOptions($template);
$data = array_merge(
$this->baseContextData->getData(),
$this->baseContextData->getData($contextGenerationData['creator'] ?? null),
[
'calendar' => $this->normalizer->normalize($entity, 'docgen', ['docgen:expects' => Calendar::class, 'groups' => ['docgen:read']]),
]