From bc63159f2a17cab1be2f3c21d7cc3650d52e6d1d Mon Sep 17 00:00:00 2001 From: Sohel Ahmed Mesaniya Date: Wed, 4 Sep 2024 15:47:22 +0530 Subject: [PATCH] There is nothing to do here. Model create-update action scenario is part of the application. It is still possible but the spec will need custom extension(s) and will possibly bloat spec for no significant gain. --- src/lib/items/FractalAction.php | 1 - src/lib/items/RestAction.php | 1 - 2 files changed, 2 deletions(-) diff --git a/src/lib/items/FractalAction.php b/src/lib/items/FractalAction.php index 148ac191..20b7bb32 100644 --- a/src/lib/items/FractalAction.php +++ b/src/lib/items/FractalAction.php @@ -202,7 +202,6 @@ public function hasTemplate():bool public function getTemplate():?string { - //@TODO: Model scenarios for create/update actions return $this->templateFactory()->getTemplate(); } diff --git a/src/lib/items/RestAction.php b/src/lib/items/RestAction.php index 6852fafc..ae7823a6 100644 --- a/src/lib/items/RestAction.php +++ b/src/lib/items/RestAction.php @@ -126,7 +126,6 @@ public function hasTemplate():bool public function getTemplate():?string { - //@TODO: Model scenarios for create/update actions $template = ActionTemplates::getTemplate($this->id); if (!$template) { return null;