Method: GraphQL::Field#deprecation_reason

Defined in:
lib/graphql/field.rb

#deprecation_reasonString?

Returns The client-facing reason why this field is deprecated (if present, the field is deprecated).

Returns:

  • (String, nil)

    The client-facing reason why this field is deprecated (if present, the field is deprecated)



165
166
167
# File 'lib/graphql/field.rb', line 165

def deprecation_reason
  @deprecation_reason
end