Skip to content

Commit 5242f39

Browse files
fix: debug setting in graphqlite config file
`GraphQL\Error\Debug` was renamed to `GraphQL\Error\DebugFlag` in WebonyxGraphQL version 14.
1 parent 738e585 commit 5242f39

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/graphqlite.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use GraphQL\Error\Debug;
3+
use GraphQL\Error\DebugFlag;
44

55
return [
66
/*
@@ -18,7 +18,7 @@
1818
*/
1919
'controllers' => 'App\\Http\\Controllers',
2020
'types' => 'App\\',
21-
'debug' => Debug::RETHROW_UNSAFE_EXCEPTIONS,
21+
'debug' => DebugFlag::RETHROW_UNSAFE_EXCEPTIONS,
2222
'uri' => env('GRAPHQLITE_URI', '/graphql'),
2323
'middleware' => ['web'],
2424
];

0 commit comments

Comments
 (0)