From 29266ce83ec8dc191570fbd12c41c73411bd04a6 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Thu, 7 Apr 2022 18:40:49 +1200 Subject: [PATCH] Append project schema on request --- app/controllers/api/graphql.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/controllers/api/graphql.php b/app/controllers/api/graphql.php index 86ea45c56f..52e42a6366 100644 --- a/app/controllers/api/graphql.php +++ b/app/controllers/api/graphql.php @@ -61,6 +61,12 @@ App::post('/v1/graphql') ] ); + $schema = Builder::appendProjectSchema( + $apiSchema, + $register, + $dbForProject + );; + $promise = GraphQL::promiseToExecute( $promiseAdapter, $schema,