evomimic / map-holons

3 stars 1 forks source link

Refactor Implementations of CommitManager's edit_holon and clone_holon #118

Open evomimic opened 3 weeks ago

evomimic commented 3 weeks ago

Both methods drag the existing holon's property_map and relationship_map up into the reference layer to do the copying. This behavior should be pushed down to the holon itself via clone_for_edit and clone_for_new methods. Then the commit manager should just delegate this call down through staged_reference / smart_reference.