Module: Gitlab::Graphql::TypeNameDeprecations

Includes:
DeprecationsBase
Defined in:
lib/gitlab/graphql/type_name_deprecations.rb

Constant Summary collapse

DEPRECATIONS =

Contains the deprecations in place. Example:

DEPRECATIONS = [
  Gitlab::Graphql::DeprecationsBase::NameDeprecation.new(
    old_name: 'CiRunnerUpgradeStatusType', new_name: 'CiRunnerUpgradeStatus', milestone: '15.3'
  )
].freeze
[
  Gitlab::Graphql::DeprecationsBase::NameDeprecation.new(
    old_name: 'CiRunnerUpgradeStatusType', new_name: 'CiRunnerUpgradeStatus', milestone: '15.3'
  ),
  Gitlab::Graphql::DeprecationsBase::NameDeprecation.new(
    old_name: 'RunnerMembershipFilter', new_name: 'CiRunnerMembershipFilter', milestone: '15.4'
  )
].freeze

Class Method Summary collapse

Methods included from DeprecationsBase

included

Class Method Details

.map_graphql_name(name) ⇒ Object



23
24
25
# File 'lib/gitlab/graphql/type_name_deprecations.rb', line 23

def self.map_graphql_name(name)
  name
end