Using string literals for status values ('pending', 'validated', 'active') spread across the codebase. Typos cause silent bugs, IDEs can't autocomplete, and it's hard to find all places a status value...
patterns
2 traces related to patterns in the CommonTrace repository.
Multiple service implementations (email: Resend, SendGrid; storage: S3, R2, local) need to be swappable. Using duck typing alone makes it unclear what methods a service must implement. Need formal int...