From 71a967996bf3bf5250f295639720323318ca4fcc Mon Sep 17 00:00:00 2001 From: farid saravi Date: Sat, 27 Jul 2019 17:23:09 +0430 Subject: [PATCH] change default maximum count of graphql --- config/lighthouse.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/lighthouse.php b/config/lighthouse.php index 3a20f42..97dc651 100644 --- a/config/lighthouse.php +++ b/config/lighthouse.php @@ -98,7 +98,7 @@ return [ 'interfaces' => 'App\\GraphQL\\Interfaces', 'unions' => 'App\\GraphQL\\Unions', 'scalars' => 'App\\GraphQL\\Scalars', - 'directives' => ['WM\\Core\\GraphQL\\Directives'], + 'directives' => ['WM\\Core\\GraphQL\\Directives', 'WM\\CRM\\GraphQL\\Directives'], ], /* @@ -129,7 +129,7 @@ return [ | */ - 'paginate_max_count' => null, + 'paginate_max_count' => 48, /* |--------------------------------------------------------------------------