module GraphQLSchema::Deprecatable

Public Instance Methods

deprecated?() click to toggle source
# File lib/graphql_schema.rb, line 88
def deprecated?
  @hash.fetch('isDeprecated')
end
deprecation_reason() click to toggle source
# File lib/graphql_schema.rb, line 92
def deprecation_reason
  @hash.fetch('deprecationReason')
end