class ViewModel::ActiveRecord::AbstractCollectionUpdate::Functional

def contents

def contents
  actions.lazy
    .reject { |action| action.is_a?(FunctionalUpdate::Remove) }
    .flat_map(&:contents)
    .to_a
end