class ViewModel::UpMigrator

def migrate_tree!(node, references:)

def migrate_tree!(node, references:)
  if node.is_a?(Hash) && node[ViewModel::TYPE_ATTRIBUTE] == ViewModel::ActiveRecord::FUNCTIONAL_UPDATE_TYPE
    migrate_functional_update!(node, references: references)
  else
    super
  end
end