gqla updates

This commit is contained in:
Shish 2023-02-05 15:56:06 +00:00
parent 09723bbcb9
commit 6d301b5ec4
2 changed files with 8 additions and 8 deletions

14
composer.lock generated
View file

@ -614,12 +614,12 @@
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/shish/gqla.git", "url": "https://github.com/shish/gqla.git",
"reference": "3b9d2973c0587f10f3b57990585fbdb7588ce54f" "reference": "92d57cf38bc8a171efa23a7539e41246612476a3"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/shish/gqla/zipball/3b9d2973c0587f10f3b57990585fbdb7588ce54f", "url": "https://api.github.com/repos/shish/gqla/zipball/92d57cf38bc8a171efa23a7539e41246612476a3",
"reference": "3b9d2973c0587f10f3b57990585fbdb7588ce54f", "reference": "92d57cf38bc8a171efa23a7539e41246612476a3",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@ -634,9 +634,9 @@
"default-branch": true, "default-branch": true,
"type": "library", "type": "library",
"autoload": { "autoload": {
"files": [ "psr-4": {
"src/gqla.php" "GQLA\\": "src"
] }
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
@ -659,7 +659,7 @@
"issues": "https://github.com/shish/gqla/issues", "issues": "https://github.com/shish/gqla/issues",
"source": "https://github.com/shish/gqla/tree/main" "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", "name": "shish/microcrud",

View file

@ -16,7 +16,7 @@ class GraphQL extends Extension
{ {
global $_tracer; global $_tracer;
$_tracer->begin("Create Schema"); $_tracer->begin("Create Schema");
$schema = \GQLA\genSchema(); $schema = new \GQLA\Schema();
$_tracer->end(null); $_tracer->end(null);
return $schema; return $schema;
} }