Skip to content

Commit fa45196

Browse files
committed
Merge branch 'teohhanhui-issue-303' into 1.0
2 parents 1e6d1f1 + 67b3fa3 commit fa45196

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

JsonLd/Serializer/ItemNormalizer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,8 @@ public function denormalize($data, $class, $format = null, array $context = [])
189189
$resource = $this->guessResource($data, $context, true);
190190
$normalizedData = $this->prepareForDenormalization($data);
191191

192+
$context = $this->createContext($resource, $context);
193+
192194
$attributesMetadata = $this->getMetadata($resource, $context)->getAttributes();
193195

194196
$allowedAttributes = [];

0 commit comments

Comments
 (0)