From 0406de55efce3468a0c7ac80b61b5e1f63faa622 Mon Sep 17 00:00:00 2001 From: Chris Lloyd Date: Tue, 23 Jan 2024 09:03:06 +0000 Subject: [PATCH] WIP --- src/Drivers/EloquentEntitySet.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Drivers/EloquentEntitySet.php b/src/Drivers/EloquentEntitySet.php index 3397c0abc..6fc4e5f53 100644 --- a/src/Drivers/EloquentEntitySet.php +++ b/src/Drivers/EloquentEntitySet.php @@ -757,13 +757,6 @@ public function discover(): self $this->discoverProperties(); } - if (!$entityType->getKey()) { - throw new ConfigurationException( - 'missing_model_key', - sprintf('The model %s had no primary key', $this->model) - ); - } - Lodata::add($this); Operation::discover($this->model);