samvera / bulkrax

Bulk Import and Export For Samvera
Apache License 2.0
12 stars 21 forks source link

Extract method #940

Closed jeremyf closed 6 months ago

jeremyf commented 6 months ago

♻️ Extract Hyrax.object_factory.search_by_property

32c057ce02b9d4ed26f391ebc06642fb491ac536

There is a duplication of this logic elsewhere, but I first wanted to extract common logic then begin extracting full replacement and conforming object interface for Valkyrie.

♻️ Extract method for Valkyrization

e942f6257361ba61d047887dcfb8bf7fde8908ab

We cannot directly query the class. But must instead favor the object_factory.