refactor: consolidate settings lookups and secrets loading
- Extract fetch_setting/1 in Settings (4 callsites → 1 repo lookup) - Replace hardcoded load_stripe_config with registry-driven load_all - Adding new secrets is now a one-line @secret_registry entry - Mark DRY refactor plan as complete (all 8 items done) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# DRY refactor plan
|
||||
|
||||
Status: Planned
|
||||
Status: Complete
|
||||
|
||||
Codebase analysis identifying repeated patterns and consolidation opportunities. Ordered by impact.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user