Skip to content

Instantly share code, notes, and snippets.

View aloaiza-dev's full-sized avatar

Alex Loaiza aloaiza-dev

View GitHub Profile
@aloaiza-dev
aloaiza-dev / sanitize-migration-comparison.md
Last active March 6, 2026 17:28
Migrating Legacy Sanitize Scripts to the New Migration System — Before/After Comparison

Migrating Legacy Sanitize Scripts to the New Migration System

This guide shows a side-by-side comparison of how sanitize scripts were written before (NestJS command pattern) vs. the new migration framework.

Context: PR #6529 introduced a sanitize script using the old pattern. This document illustrates how it would look in the new system.


Before: Legacy Pattern (src/scripts/)