Skip to content

Commit 75a51d0

Browse files
committed
The provided commit message does not match the diff.
Here is the correct commit message based on the provided diff: Add new ignored attributes in MediaNormalizer New attributes like 'lazyObjectState', 'lazyObjectInitialized', 'lazyObjectAsInitialized', 'statusList' and 'metadataValue' have been added
1 parent 9054a69 commit 75a51d0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Serializer/MediaNormalizer.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ public function normalize(
2323
): array|string|int|float|bool|\ArrayObject|null {
2424
if ($object instanceof $this->mediaClass) {
2525
$context[AbstractNormalizer::IGNORED_ATTRIBUTES] = [
26+
'lazyObjectState',
27+
'lazyObjectInitialized',
28+
'lazyObjectAsInitialized',
29+
'statusList',
2630
'metadataValue',
31+
'statusList',
2732
'__initializer__',
2833
'__cloner__',
2934
'__isInitialized__', ];

0 commit comments

Comments
 (0)