[cleanup][page-templates] Remove or wire dead findReferencePageIdsBySource #34

Closed
opened 2026-06-20 20:36:06 +03:00 by Ghost · 0 comments

From review of #17 (merged to develop).

apps/server/src/database/repos/page-template-references/page-template-references.repo.ts findReferencePageIdsBySource has zero callers in the merged PR — the "used in N pages" reverse-navigation API was not built. It is currently unreachable, untested code. Either remove it, or wire the feature (reference list + delete warning).

Severity: low.

From review of #17 (merged to develop). `apps/server/src/database/repos/page-template-references/page-template-references.repo.ts` `findReferencePageIdsBySource` has **zero callers** in the merged PR — the "used in N pages" reverse-navigation API was not built. It is currently unreachable, untested code. Either remove it, or wire the feature (reference list + delete warning). Severity: low.
Ghost closed this issue 2026-06-21 02:05:31 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: vvzvlad/gitmost#34