mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 09:54:14 +00:00
docs: tick reservationService in migrate.md and refresh the migration graph
- nest/README.md: reservations joins the DI-native list; recipe history gains the residue-fold paragraph; next up is dayService per the dependency-honest order. - migrate.md: wave-4 entry ticked, with the migration-graph correction borne out — reservationService imported neither budgetService nor dayService. - migration-graph.md: regenerated for the post-fold import graph (row/node removed, frontier and order updated, dayService is the next pick). - plugins/DI-MIGRATION.md: the factory's last plain-function reservation import is drained.
This commit is contained in:
+3
-1
@@ -24,7 +24,9 @@ Wave 3 — domain services with existing modules, low fan-in
|
||||
Wave 4 — the coupled cluster (order matters here)
|
||||
|
||||
8. dayService → budgetService → reservationService in that order: reservations depend on both (budget-item linking, day resolution), so migrating the dependencies first lets ReservationsService inject the finished versions instead of
|
||||
importing legacy functions.
|
||||
importing legacy functions. — **Correction (migration-graph.md, borne out by the migration): the claimed ordering constraint doesn't exist at the service layer.** reservationService (done 2026-07) imported neither budgetService nor
|
||||
dayService; the budget/day coupling lives in the Nest wrapper's budget-sync seam and the MCP registrars, which keep their legacy imports until those domains migrate. Reservations went first as the frontier residue fold; dayService and
|
||||
budgetService follow.
|
||||
9. Then placeService (7 internal deps, mostly on things migrated by now) and tripService (10 deps — the biggest hub; last in this wave, since nearly everything it needs will already be injectable).
|
||||
|
||||
Wave 5 — the heavyweights, last
|
||||
|
||||
Reference in New Issue
Block a user