diff --git a/src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php b/src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php index ae3ff9c4f77..452ce9cbcb2 100644 --- a/src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php +++ b/src/Core/Metadata/Property/Factory/CachedPropertyMetadataFactory.php @@ -44,7 +44,7 @@ public function create(string $resourceClass, string $property, array $options = $cacheKey = self::CACHE_KEY_PREFIX.md5(serialize([$resourceClass, $property, $options])); return $this->getCached($cacheKey, function () use ($resourceClass, $property, $options) { - return $this->decorated->create($resourceClass, $property, $options); + return $this->decorated->create($resourceClass, $property, $options + ['deprecate' => false]); }); } }