From 6d301b5ec411b2367a277b82829c73a8ff6066ae Mon Sep 17 00:00:00 2001 From: Shish Date: Sun, 5 Feb 2023 15:56:06 +0000 Subject: [PATCH] gqla updates --- composer.lock | 14 +++++++------- ext/graphql/main.php | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.lock b/composer.lock index ff2a0d95..f1c1cffa 100644 --- a/composer.lock +++ b/composer.lock @@ -614,12 +614,12 @@ "source": { "type": "git", "url": "https://github.com/shish/gqla.git", - "reference": "3b9d2973c0587f10f3b57990585fbdb7588ce54f" + "reference": "92d57cf38bc8a171efa23a7539e41246612476a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/shish/gqla/zipball/3b9d2973c0587f10f3b57990585fbdb7588ce54f", - "reference": "3b9d2973c0587f10f3b57990585fbdb7588ce54f", + "url": "https://api.github.com/repos/shish/gqla/zipball/92d57cf38bc8a171efa23a7539e41246612476a3", + "reference": "92d57cf38bc8a171efa23a7539e41246612476a3", "shasum": "" }, "require": { @@ -634,9 +634,9 @@ "default-branch": true, "type": "library", "autoload": { - "files": [ - "src/gqla.php" - ] + "psr-4": { + "GQLA\\": "src" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -659,7 +659,7 @@ "issues": "https://github.com/shish/gqla/issues", "source": "https://github.com/shish/gqla/tree/main" }, - "time": "2023-02-04T20:10:44+00:00" + "time": "2023-02-05T15:33:56+00:00" }, { "name": "shish/microcrud", diff --git a/ext/graphql/main.php b/ext/graphql/main.php index 4ecdbd7f..7daee0cd 100644 --- a/ext/graphql/main.php +++ b/ext/graphql/main.php @@ -16,7 +16,7 @@ class GraphQL extends Extension { global $_tracer; $_tracer->begin("Create Schema"); - $schema = \GQLA\genSchema(); + $schema = new \GQLA\Schema(); $_tracer->end(null); return $schema; }