Method: GraphQL::Schema#id_from_object=

Defined in:
lib/graphql/schema.rb

#id_from_object=(new_proc) ⇒ Object

Parameters:

  • new_proc (#call)

    A new callable for generating unique IDs



497
498
499
# File 'lib/graphql/schema.rb', line 497

def id_from_object=(new_proc)
  @id_from_object_proc = new_proc
end