summaryrefslogtreecommitdiff
path: root/app/graphql/gitlab_schema.rb
blob: ecc34eacc7d8196e18e9ddfa36a7ed7febc53c03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

class GitlabSchema < GraphQL::Schema
  use BatchLoader::GraphQL
  use Gitlab::Graphql::Authorize
  use Gitlab::Graphql::Present
  use Gitlab::Graphql::Connections
  use Gitlab::Graphql::Tracing

  query(Types::QueryType)

  default_max_page_size 100
  mutation(Types::MutationType)
end