From baf8b93c65e7d8ca2de17f5d3ef27d021f337c67 Mon Sep 17 00:00:00 2001 From: Uncle Cheese Date: Fri, 20 Jan 2017 14:35:41 +1300 Subject: [PATCH] BUGFIX: incorrect array shape for CRUD args --- src/Scaffolding/Scaffolders/CRUD/Update.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Scaffolding/Scaffolders/CRUD/Update.php b/src/Scaffolding/Scaffolders/CRUD/Update.php index e1c138756..38953dae6 100644 --- a/src/Scaffolding/Scaffolders/CRUD/Update.php +++ b/src/Scaffolding/Scaffolders/CRUD/Update.php @@ -77,7 +77,9 @@ public function getIdentifier() protected function createArgs() { return [ - 'ID' => Type::nonNull(Type::id()), + 'ID' => [ + 'type' => Type::nonNull(Type::id()) + ], 'Input' => [ 'type' => Type::nonNull($this->generateInputType()), ],