class ViewModel::ActiveRecord::Cache::CacheWorker
def initialize(migration_versions:, serialize_context:)
def initialize(migration_versions:, serialize_context:) @worklist = {} # Hash[type_name, Hash[id, WorklistEntry]] @resolved_references = {} # Hash[refname, json] @migration_versions = migration_versions @migrated_cache_versions = {} @serialize_context = serialize_context end