Welcome to mirror list, hosted at ThFree Co, Russian Federation.

base_argument.rb « types « graphql « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 11774d0b59d5886613eca297cf9ef316d7b3d9c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module Types
  class BaseArgument < GraphQL::Schema::Argument
    include GitlabStyleDeprecations

    def initialize(*args, **kwargs, &block)
      kwargs = gitlab_deprecation(kwargs)
      kwargs.delete(:deprecation_reason)

      super(*args, **kwargs, &block)
    end
  end
end