lib/rails/graphql/type/enum.rb
# Find and store the directive that marked the current value as
# deprecated
Find and store the directive that marked the current value as
deprecated
Find and store the directive that marked the current value as deprecated
def deprecated_directive
            @deprecated_directive ||= directives.find do |dir|
              dir.is_a?(Directive::DeprecatedDirective)
            end
          end
def deprecated_directive @deprecated_directive ||= directives . find do | dir | dir . is_a? ( Directive :: DeprecatedDirective ) end end
Find and store the directive that marked the current value as
deprecated
Find and store the directive that marked the current value as deprecated