Module: GraphQLSchema::Deprecatable
Instance Method Summary collapse
Instance Method Details
#deprecated? ⇒ Boolean
88 89 90 |
# File 'lib/graphql_schema.rb', line 88 def deprecated? @hash.fetch('isDeprecated') end |
#deprecation_reason ⇒ Object
92 93 94 |
# File 'lib/graphql_schema.rb', line 92 def deprecation_reason @hash.fetch('deprecationReason') end |