Module: GraphQLSchema::Deprecatable
Instance Method Summary collapse
Instance Method Details
#deprecated? ⇒ Boolean
68 69 70 |
# File 'lib/graphql_schema.rb', line 68 def deprecated? @hash.fetch('isDeprecated') end |
#deprecation_reason ⇒ Object
72 73 74 |
# File 'lib/graphql_schema.rb', line 72 def deprecation_reason @hash.fetch('deprecationReason') end |