Skip to content

Commit

Permalink
fix(metadata): allow serializer attribute object in ApiProperty::$ser…
Browse files Browse the repository at this point in the history
…ialize (#6946)
  • Loading branch information
dunglas authored Feb 6, 2025
1 parent ceebfcf commit 8cf841e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Mapping/Loader/PropertyMetadataLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ public function __construct(private readonly PropertyNameCollectionFactoryInterf

public function loadClassMetadata(ClassMetadataInterface $classMetadata): bool
{
$attributesMetadata = $classMetadata->getAttributesMetadata();
// It's very weird to grab Eloquent's properties in that case as they're never serialized
// the Serializer makes a call on the abstract class, let's save some unneeded work with a condition
if (Model::class === $classMetadata->getName()) {
Expand Down

0 comments on commit 8cf841e

Please sign in to comment.