Method: GraphQL::Field#hash_key

Defined in:
lib/graphql/field.rb

#hash_keyObject?

Returns The key to access with obj.[] to resolve this field (overrides #name if present).

Returns:

  • (Object, nil)

    The key to access with obj.[] to resolve this field (overrides #name if present)



180
181
182
# File 'lib/graphql/field.rb', line 180

def hash_key
  @hash_key
end