Module: GraphQLSchema::Deprecatable
Instance Method Summary collapse
Instance Method Details
#deprecated? ⇒ Boolean
80 81 82 |
# File 'lib/graphql_schema.rb', line 80 def deprecated? @hash.fetch('isDeprecated') end |
#deprecation_reason ⇒ Object
84 85 86 |
# File 'lib/graphql_schema.rb', line 84 def deprecation_reason @hash.fetch('deprecationReason') end |