Module: GraphQLSchema::Deprecatable
Instance Method Summary collapse
Instance Method Details
#deprecated? ⇒ Boolean
56 57 58 |
# File 'lib/graphql_schema.rb', line 56 def deprecated? @hash.fetch('isDeprecated') end |
#deprecation_reason ⇒ Object
60 61 62 |
# File 'lib/graphql_schema.rb', line 60 def deprecation_reason @hash.fetch('deprecationReason') end |