From 0d53ccb2d456fca06b68794328d469d126555bfb Mon Sep 17 00:00:00 2001 From: Alex Finnarn Date: Tue, 27 Feb 2024 14:06:05 -0500 Subject: [PATCH] add back in caching since it wasn't the issue --- patches/field-type-enhancer-3025283-3.patch | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/patches/field-type-enhancer-3025283-3.patch b/patches/field-type-enhancer-3025283-3.patch index 26df53086a..18e671034e 100644 --- a/patches/field-type-enhancer-3025283-3.patch +++ b/patches/field-type-enhancer-3025283-3.patch @@ -290,7 +290,7 @@ index 0000000..6b9dee2 + +} diff --git a/src/Normalizer/FieldItemNormalizer.php b/src/Normalizer/FieldItemNormalizer.php -index 8882870..bddb5b7 100644 +index 8882870..ed082cf 100644 --- a/src/Normalizer/FieldItemNormalizer.php +++ b/src/Normalizer/FieldItemNormalizer.php @@ -3,6 +3,7 @@ @@ -331,7 +331,7 @@ index 8882870..bddb5b7 100644 } /** -@@ -51,15 +62,40 @@ class FieldItemNormalizer extends JsonApiNormalizerDecoratorBase { +@@ -51,15 +62,39 @@ class FieldItemNormalizer extends JsonApiNormalizerDecoratorBase { public function normalize($object, $format = NULL, array $context = []) { // First get the regular output. $normalized_output = parent::normalize($object, $format, $context); @@ -363,8 +363,7 @@ index 8882870..bddb5b7 100644 + ); + + // Add the cache tags for the field type config. -+ // @todo Fix the cache tags for the field type config. -+ // $cacheability->addCacheTags(['config:jsonapi_extras.jsonapi_field_type_config']); ++ $cacheability->addCacheTags(['config:jsonapi_extras.jsonapi_field_type_config']); + } + + if (!$enhancer) {