class GraphQL::Introspection::EnumValueType
Public Class Methods
(GraphQL::Schema::EnumValue object, GraphQL::Query::Context context) → bool
Source
# File lib/graphql/introspection/enum_value_type.rb, line 16 def self.resolve_is_deprecated(object, context) !!object.deprecation_reason end
Public Instance Methods
→ bool
Source
# File lib/graphql/introspection/enum_value_type.rb, line 21 def is_deprecated self.class.resolve_is_deprecated(object, context) end