From be26d6b3543ee726fb70e324080c6d29825218c9 Mon Sep 17 00:00:00 2001 From: kiler129 Date: Wed, 13 Feb 2019 00:30:42 -0600 Subject: [PATCH] #286: Carry over normalization context on aggregation --- src/Entity/Aggregator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/Aggregator.php b/src/Entity/Aggregator.php index bad866d3..d0f156d9 100644 --- a/src/Entity/Aggregator.php +++ b/src/Entity/Aggregator.php @@ -88,6 +88,6 @@ public static function getEntityClassFromObjectID($objectID) */ public function normalize(NormalizerInterface $normalizer, $format = null, array $context = []) { - return array_merge(['objectID' => $this->objectID], $normalizer->normalize($this->entity)); + return array_merge(['objectID' => $this->objectID], $normalizer->normalize($this->entity, $format, $context)); } }