Skip to content

Commit d13f2b8

Browse files
committed
patch entity data
1 parent 6cb6576 commit d13f2b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/State/Processor/ObjectMapperProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function process(mixed $data, Operation $operation, array $uriVariables =
6464
// persist the entity
6565
$this->decorated->process(
6666
// maps the Resource to an Entity
67-
$this->objectMapper->map($data),
67+
$this->objectMapper->map($data, $context['request']?->attributes->get('entity_data')),
6868
$operation,
6969
$uriVariables,
7070
$context,

0 commit comments

Comments
 (0)