docs(form-schema): document shared package boundary and tech debt
Documents the "share schema, not UI" principle in dev-guide.md so the boundary stays intact in future work. Logs TECH-DEBT-01 for the @core/utils/validators transitive dependency discovered during PR-a. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -489,6 +489,22 @@ apps/portal om drift te voorkomen.
|
||||
|
||||
---
|
||||
|
||||
### TECH-DEBT-01 — @form-schema transitive dep op @core/utils/validators
|
||||
|
||||
**Aanleiding:** `packages/form-schema/src/utils/formValidation.ts`
|
||||
importeert uit `@core/utils/validators`, dat per-app resolvt naar
|
||||
`apps/*/src/@core/utils/validators.ts`. Beide app-kopieën zijn op dit
|
||||
moment identiek (Vuexy template-code), maar drift tussen de twee
|
||||
zou `@form-schema` per consumer verschillend laten werken.
|
||||
**Wat:** Kopieer de specifieke validators die `formValidation.ts`
|
||||
gebruikt naar `packages/form-schema/src/utils/` zodra het package
|
||||
een tweede echte consumer krijgt (PR-c of later). Ontdekt tijdens
|
||||
PR-a (commit dda60ed5).
|
||||
**Prioriteit:** Laag — latent; triggert pas bij consumer-drift of
|
||||
wanneer het package buiten de huidige Vuexy-twin apps wordt geladen.
|
||||
|
||||
---
|
||||
|
||||
### ~~TECH-02 — scopeForFestival helper op Event model~~ ✅ OPGELOST
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user