From 9b8dcfda070d6dc6e2f17944f203ddc4c40a23f3 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 21 Jan 2026 13:59:24 +1300 Subject: [PATCH] Fix custom scalar --- src/Appwrite/GraphQL/Types/Assoc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Appwrite/GraphQL/Types/Assoc.php b/src/Appwrite/GraphQL/Types/Assoc.php index 1e6322028c..df578bc7f0 100644 --- a/src/Appwrite/GraphQL/Types/Assoc.php +++ b/src/Appwrite/GraphQL/Types/Assoc.php @@ -6,11 +6,11 @@ use GraphQL\Language\AST\Node; use GraphQL\Type\Definition\ScalarType; // https://github.com/webonyx/graphql-php/issues/129#issuecomment-309366803 -class Assoc extends Json +class Assoc extends ScalarType { public function __construct() { - ScalarType::__construct([ + parent::__construct([ 'name' => 'Assoc', 'description' => 'The `Assoc` scalar type represents associative array values.', ]);