From 51695649d55ec729a7605845084a62824034066a Mon Sep 17 00:00:00 2001 From: zrja <58917672+zrja@users.noreply.github.com> Date: Fri, 16 Dec 2022 16:35:35 +0100 Subject: [PATCH] Fixed: Schema-Caching --- src/Hydrate/EntityHydrator.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Hydrate/EntityHydrator.php b/src/Hydrate/EntityHydrator.php index 77d5096d..5e9f9da9 100644 --- a/src/Hydrate/EntityHydrator.php +++ b/src/Hydrate/EntityHydrator.php @@ -47,6 +47,8 @@ public function schema(string $entity, Context $context): Schema throw new Exception('Schema for entity: ' . $entity . ' not found'); } } + + $this->cacheSchema[$entity] = $schema; return $schema; }