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