summaryrefslogtreecommitdiff
path: root/lib/gitlab/graphql.rb
blob: 8a59e83974f7702e159efbab6097c1e9e6fba06a (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module Gitlab
  module Graphql
    StandardGraphqlError = Class.new(StandardError)

    def self.enabled?
      Feature.enabled?(:graphql, default_enabled: true)
    end
  end
end