Split catalog/mod.rs into separate files per repository #3

Open
opened 2026-07-25 11:17:15 +00:00 by GKaszewski · 0 comments
Owner

Severity: Medium

crates/adapters/postgres/src/catalog/mod.rs implements AssetRepository, AssetMetadataRepository, DuplicateRepository, DerivativeRepository, and AssetStackRepository all in a single file. It's massive.

Each repository implementation should be in its own file for maintainability.

**Severity: Medium** `crates/adapters/postgres/src/catalog/mod.rs` implements `AssetRepository`, `AssetMetadataRepository`, `DuplicateRepository`, `DerivativeRepository`, and `AssetStackRepository` all in a single file. It's massive. Each repository implementation should be in its own file for maintainability.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: GKaszewski/k-photos#3