class ViewModel::ActiveRecord::OwnedCollectionUpdate::Functional
def resolve_vm_reference(update_data, _update_context)
def resolve_vm_reference(update_data, _update_context) update_data.viewmodel_reference if update_data.id end
def used_vm_refs(update_context)
def used_vm_refs(update_context) update_datas .map { |upd| resolve_vm_reference(upd, update_context) } .compact end