Module: GraphQL::Schema::Member::HasDeprecationReason Private

Included in:
Argument, EnumValue, Field, Resolver
Defined in:
lib/graphql/schema/member/has_deprecation_reason.rb

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Defined Under Namespace

Modules: ClassMethods

Instance Attribute Summary collapse

Instance Attribute Details

#deprecation_reasonString?

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns Explains why this member was deprecated (if present, this will be marked deprecated in introspection).

Returns:

  • (String, nil)

    Explains why this member was deprecated (if present, this will be marked deprecated in introspection)



8
9
10
# File 'lib/graphql/schema/member/has_deprecation_reason.rb', line 8

def deprecation_reason
  @deprecation_reason
end