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

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

  query(Types::QueryType)

  default_max_page_size 100
  mutation(Types::MutationType)
end