Skip to content

Commit

Permalink
Revert Merge caching for entity fields (#996)
Browse files Browse the repository at this point in the history
  • Loading branch information
Luis committed Sep 8, 2023
1 parent f860e16 commit e46d392
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,11 @@ protected function resolveItem($item, array $args, ResolveContext $context, Reso
}
}

if ($itemProperty instanceof CacheableDependencyInterface) {
$context->addCacheTags($itemProperty->getCacheTags());
$context->addCacheContexts($itemProperty->getCacheContexts());
$context->mergeCacheMaxAge($itemProperty->getCacheMaxAge());
}
// if ($itemProperty instanceof CacheableDependencyInterface) {
// $context->addCacheTags($itemProperty->getCacheTags());
// $context->addCacheContexts($itemProperty->getCacheContexts());
// $context->mergeCacheMaxAge($itemProperty->getCacheMaxAge());
// }

return $result;
}
Expand Down

0 comments on commit e46d392

Please sign in to comment.