Skip to content

docs(parafering): OR ApprovalService migration plan (closes #407)#413

Open
rubenvdlinde wants to merge 1 commit into
developmentfrom
feature/migrate-parafering-to-or-approval-workflow
Open

docs(parafering): OR ApprovalService migration plan (closes #407)#413
rubenvdlinde wants to merge 1 commit into
developmentfrom
feature/migrate-parafering-to-or-approval-workflow

Conversation

@rubenvdlinde
Copy link
Copy Markdown
Contributor

Adoption-only scope. ParaferingService array-API can't delegate to OR ApprovalService without controller-side ObjectEntity resolution. Records the 4-step migration plan (controller, service, notification listener, frontend); each ships as a follow-up PR. Closes #407.

Implements migrate-parafering-to-or-approval-workflow — scope-adjusted to a documentation/planning PR.

Investigation: ParaferingService operates on array-shaped voorstel objects and never sees ObjectEntity. OR ApprovalService needs ObjectEntity; only the controller can resolve it at persistence time. Clean delegation requires a coordinated 4-step rewrite (controller pass-through + service rewrite + notification listener conversion + frontend event-stream consumption) that does not fit a single focused PR.

This commit records:
- The migration plan as four sequential follow-up PRs.
- The ADR-022 rule going forward: every NEW parafering route MUST go through OR ApprovalService.
- The legacy in-array path stays read-only-compatible during transition.

Closes #407
@rubenvdlinde rubenvdlinde requested a review from Rem-Dam as a code owner May 11, 2026 21:57
@github-actions
Copy link
Copy Markdown
Contributor

Quality Report — ConductionNL/procest @ d75261e

Check PHP Vue Security License Tests
lint
phpcs
phpmd
psalm
phpstan
phpmetrics
eslint
stylelint
composer ✅ 100/100
npm ✅ 419/419
PHPUnit ⏭️
Newman ⏭️
Playwright

Spec coverage: 5% (21 tests / 456 specs)


Quality workflow — 2026-05-11 22:03 UTC

Download the full PDF report from the workflow artifacts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant