diff options
author | Nick Thomas <nick@gitlab.com> | 2018-02-23 18:36:40 +0300 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-06-05 21:47:42 +0300 |
commit | 287c34ca1f9af4e395493c99623af8437f82d919 (patch) | |
tree | a2748dc20c4a159d93564a42dddec7e768e22a43 /app/graphql/gitlab_schema.rb | |
parent | 9c6c17cbcdb8bf8185fc1b873dcfd08f723e4df5 (diff) |
Convert from GraphQL::Batch to BatchLoader
Diffstat (limited to 'app/graphql/gitlab_schema.rb')
-rw-r--r-- | app/graphql/gitlab_schema.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/graphql/gitlab_schema.rb b/app/graphql/gitlab_schema.rb index 7392bf6f503..143ccf92c85 100644 --- a/app/graphql/gitlab_schema.rb +++ b/app/graphql/gitlab_schema.rb @@ -1,7 +1,7 @@ Gitlab::Graphql::Authorize.register! GitlabSchema = GraphQL::Schema.define do - use GraphQL::Batch + use BatchLoader::GraphQL enable_preloading enable_authorization |