Skip to content

Commit

Permalink
composer fix-style
Browse files Browse the repository at this point in the history
  • Loading branch information
mfn committed Feb 18, 2024
1 parent 13fb726 commit 1a49ac8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

// The controller/method to use in GraphQL request.
// Also supported array syntax: `[\Rebing\GraphQL\GraphQLController::class, 'query']`
'controller' => \Rebing\GraphQL\GraphQLController::class . '@query',
'controller' => Rebing\GraphQL\GraphQLController::class . '@query',

// Any middleware for the graphql route group
// This middleware will apply to all schemas
Expand Down Expand Up @@ -118,7 +118,7 @@
// 'message' => '',
// 'locations' => []
// ]
'error_formatter' => [\Rebing\GraphQL\GraphQL::class, 'formatError'],
'error_formatter' => [Rebing\GraphQL\GraphQL::class, 'formatError'],

/*
* Custom Error Handling
Expand All @@ -127,7 +127,7 @@
*
* The default handler will pass exceptions to laravel Error Handling mechanism
*/
'errors_handler' => [\Rebing\GraphQL\GraphQL::class, 'handleErrors'],
'errors_handler' => [Rebing\GraphQL\GraphQL::class, 'handleErrors'],

/*
* Options to limit the query complexity and depth. See the doc
Expand All @@ -144,13 +144,13 @@
* You can define your own pagination type.
* Reference \Rebing\GraphQL\Support\PaginationType::class
*/
'pagination_type' => \Rebing\GraphQL\Support\PaginationType::class,
'pagination_type' => Rebing\GraphQL\Support\PaginationType::class,

/*
* You can define your own simple pagination type.
* Reference \Rebing\GraphQL\Support\SimplePaginationType::class
*/
'simple_pagination_type' => \Rebing\GraphQL\Support\SimplePaginationType::class,
'simple_pagination_type' => Rebing\GraphQL\Support\SimplePaginationType::class,

/*
* Overrides the default field resolver
Expand Down Expand Up @@ -208,10 +208,10 @@
* Execution middlewares
*/
'execution_middleware' => [
\Rebing\GraphQL\Support\ExecutionMiddleware\ValidateOperationParamsMiddleware::class,
Rebing\GraphQL\Support\ExecutionMiddleware\ValidateOperationParamsMiddleware::class,
// AutomaticPersistedQueriesMiddleware listed even if APQ is disabled, see the docs for the `'apq'` configuration
\Rebing\GraphQL\Support\ExecutionMiddleware\AutomaticPersistedQueriesMiddleware::class,
\Rebing\GraphQL\Support\ExecutionMiddleware\AddAuthUserContextValueMiddleware::class,
Rebing\GraphQL\Support\ExecutionMiddleware\AutomaticPersistedQueriesMiddleware::class,
Rebing\GraphQL\Support\ExecutionMiddleware\AddAuthUserContextValueMiddleware::class,
// \Rebing\GraphQL\Support\ExecutionMiddleware\UnusedVariablesMiddleware::class,
],
];

0 comments on commit 1a49ac8

Please sign in to comment.